I am trying to invite a B2B user to our Azure Active Directory instance. This user already a member of their Azure AD under their own company (separate instance).
I am sending a request to
https://graph.microsoft.com/v1.0/invitations
I get this response:
{ HttpsError: [POST https://graph.microsoft.com:443/v1.0/invitations] The user you're inviting already exists in the directory. They can simply sign in into shared apps and resources.
However when I login to the Azure portal, I don't see this users email address. Also, when I try to GET the user via the Graph API, I get this message:
[GET https://graph.microsoft.com:443/v1.0/users/] Resource '' does not exist or one of its queried reference-property objects are not present.
Additionally, user is reporting that they are not able to login using their own login.
GET https://graph.microsoft.com/v1.0/users?$filter=mail eq '<test@outlook.com>'
? We cannot get the GUEST user via email viaGET https://graph.microsoft.com/v1.0/users/<test@outlook.com>
. – Wayne Yang