Tuesday, July 23, 2024
HomePowershellInvite Visitor Customers with PowerShell – SID-500.COM

Invite Visitor Customers with PowerShell – SID-500.COM

Microsoft 365

Friends can attend conferences, view paperwork and chat in Groups they’re invited to. On this weblog submit I’m going to indicate you a One-Liner for inviting friends to your Microsoft 365 tenant. Let’s dive in.

Connect with Azure AD

Initially we have to hook up with Azure AD.

If this command fails, chances are you’ll want to put in the module when you haven’t already.

Set up-Module AzureAD -AllowClobber -Power

Invite Friends

Now we’re prepared for the motion. The command beneath invitations a person and redirects this person to an URL.

New-AzureADMSInvitation `
-InvitedUserEmailAddress f.huber@sid-500.com `
-SendInvitationMessage $True `
-InviteRedirectUrl "http://myapps.microsoft.com"

Invitation profitable.

Printed by Patrick Gruenauer

Microsoft MVP on PowerShell [2018-2023], IT-Coach, IT-Guide, MCSE: Cloud Platform and Infrastructure, Cisco Licensed Academy Teacher.



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments