Automatic user provisioning in Azure AD

Tomasz Kornacki 6 Reputation points
2021-03-24T10:33:16.13+00:00

Hello guys,
Recently I have created an app which I'm hosting on Azure App Service. Part of this application is a people picker, based on MS Graph which makes a query to Azure AD to search for users matching the query (by name or e-mail).
We're at the testing stage and there is one thing reported by customer as bug. In people picker (so in Azure AD) the user cannot be retrieved and invited to the system before he signs-in to Azure at least once.
If I understand correctly, the user object is created in Azure AD only after initial login, so there's no way to get all users from on-premise AD.
Can you suggest a workaround or any source of information which clearly states this behavior is by design so I can show it to the customer?
Regards
TOmasz Kornacki

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,956 Reputation points Moderator
    2021-03-30T04:45:57.817+00:00

    Hi @Tomasz Kornacki · Thank you for reaching out.

    The known behavior is with OneDrive/SharePoint Online where users are added to the directory after they have redeemed their invitations. On the other hand, when guest users are added using Azure AD, they immediately show up everywhere without requiring them to redeem their invitations.

    • Azure AD B2B collaboration invited users can be picked from OneDrive/SharePoint Online sharing dialog boxes.
    • OneDrive/SharePoint Online invited users also show up in Azure AD after they redeem their invitations.

    Read more: https://learn.microsoft.com/en-us/azure/active-directory/external-identities/o365-external-user

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.