Jun 03 2018
07:22 AM
- last edited on
Jan 14 2022
04:47 PM
by
TechCommunityAP
Jun 03 2018
07:22 AM
- last edited on
Jan 14 2022
04:47 PM
by
TechCommunityAP
Hello,
I am currently a global admin in both my home tenant and foreign AD tenant. I am trying to invite users using PS code I've used in the past (see below) but now it's creating a new Azure AD user instead of inviting them. I noticed this by the source field under the user properties. It should say External Azure Active Directory but now it's Azure Active Directory. I'm not sure how this is possible as the domain of the user that was created is not even registered with that tenant. Anyone else see this before?
Thanks!
Import-Module AzureAD
Connect-AzureAD -TenantId $sub.TenantId -Credential $cred -Verbose
New-AzureADMSInvitation -InvitedUserDisplayName $user.DisplayName -InvitedUserEmailAddress $user.eMail -SendInvitationMessage $false -InvitedUserType Member -InviteRedirectUrl "http://myapps.onmicrosoft.com"
Jul 02 2018 03:23 AM
Hello Joseph,
Verify the option of the source when we navigate to the users properties.
Default list :-
Regards,
Rishabh