MS Graph is Giving me the 'Getting Unable to retrieve user's mysite URL' and if I used Groups, Unable to provision resource.

Ayami 21 Reputation points
2022-03-17T17:04:41.403+00:00

I'm unable to used it, I don't know how, is this because of My account is for One Drive family?
do i need to get a One Drive for Business ?

My Issue is this one

184159-test2.jpg

this is for the groups for the users

184234-test.jpg

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,592 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,668 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,875 questions
{count} votes

Accepted answer
  1. Zehui Yao_MSFT 5,831 Reputation points
    2022-03-21T10:09:25.45+00:00

    Hello @Ayami , According to my testing, when you request a group with a group type other than Microsoft 365, you will encounter the error 'unable to provision resource'
    Here is the documentation for Group types in Azure AD and Microsoft Graph: https://learn.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0

    185135-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Srinivasa Rao Darna 6,686 Reputation points Microsoft Vendor
    2022-03-18T10:32:54.02+00:00

    Hi @Ayami ,

    From screenshots you are using App Authentication(Client Credential flow).

    • Check if the user is enabled with valid license
    • If user has a license to use OneDrive, is not provisioned
    • If a user's OneDrive is not provisioned but the user has a license to use OneDrive, this request will automatically provision the user's drive, when using delegated authentication

    References: get-a-users-onedrive

    Hope this helps.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.
    0 comments No comments