We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 927942a commit 571fbe8Copy full SHA for 571fbe8
articles/active-directory/external-identities/code-samples.md
@@ -37,14 +37,14 @@ You can bulk-invite external users to an organization from email addresses that
37
38
3. Sign in to your tenancy
39
40
- ```powershell
+ ```azurepowershell-interactive
41
$cred = Get-Credential
42
Connect-AzureAD -Credential $cred
43
```
44
45
4. Run the PowerShell cmdlet
46
47
48
$invitations = import-csv C:\data\invitations.csv
49
$messageInfo = New-Object Microsoft.Open.MSGraph.Model.InvitedUserMessageInfo
50
$messageInfo.customizedMessageBody = "Hey there! Check this out. I created an invitation through PowerShell"
0 commit comments