question

TomaszKornacki-7225 avatar image
0 Votes"
TomaszKornacki-7225 asked amanpreetsingh-msft commented

Automatic user provisioning in Azure AD

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

azure-ad-user-provisioning
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered amanpreetsingh-msft commented

Hi @TomaszKornacki-7225 · 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://docs.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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @TomaszKornacki-7225 · Just checking if you have any further question.

0 Votes 0 ·