Skip to content

Commit 1552994

Browse files
Merge pull request #236110 from msaenzbosupport/patch-15
[Doc-A-Thon] Updated code block
2 parents f4c9f4d + 571fbe8 commit 1552994

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/active-directory/external-identities/code-samples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ You can bulk-invite external users to an organization from email addresses that
3737

3838
3. Sign in to your tenancy
3939

40-
```powershell
40+
```azurepowershell-interactive
4141
$cred = Get-Credential
4242
Connect-AzureAD -Credential $cred
4343
```
4444
4545
4. Run the PowerShell cmdlet
4646
47-
```powershell
47+
```azurepowershell-interactive
4848
$invitations = import-csv C:\data\invitations.csv
4949
$messageInfo = New-Object Microsoft.Open.MSGraph.Model.InvitedUserMessageInfo
5050
$messageInfo.customizedMessageBody = "Hey there! Check this out. I created an invitation through PowerShell"

0 commit comments

Comments
 (0)