Forum Discussion

GOBWAU247's avatar
GOBWAU247
Copper Contributor
Mar 02, 2021

With powershell add a guest user to my tenant AND a group...

When you add a guest user to a tenan via Azure Active Directory GUI you have the option to add Groups and roles. 

When you invite a user, it first sends an invitation email where the user have to accept the tenants policy. After the user have done that another email is sent with the group invite. So the user doesnt get both email at the same time...

 

How do i do this with powershell? 

 

Have only found this: 
New-AzureADMSInvitation -InvitedUserDisplayName "Sanda" -InvitedUserEmailAddress sanda@fabrikam.com -InviteRedirectURL https://myapps.microsoft.com -SendInvitationMessage $true

 

No RepliesBe the first to reply

Resources