Skip to content

Commit 3d1baae

Browse files
authored
Merge branch 'dev' into 2997-msgraph-and-az-module-are-not-compatible
2 parents ed65f50 + be9e661 commit 3d1baae

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed

src/Identity.SignIns/beta/examples/New-MgBetaInvitation.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,23 @@ New-MgBetaInvitation -BodyParameter $params
3434
```
3535
This example will reset the redemption status of a guest user
3636

37+
### Example 2: Send CC email for a new invited user.
38+
39+
```powershell
40+
41+
Import-Module Microsoft.Graph.Beta.Identity.SignIns
42+
43+
$InvitedUserMessageInfo = @{
44+
CustomizedMessageBody = "Welcome!"
45+
ccRecipients = @(
46+
@{
47+
emailAddress = @{
48+
address = "[email protected]"
49+
}
50+
}
51+
)
52+
}
53+
54+
New-MgBetaInvitation -InvitedUserDisplayName "User" -InvitedUserEmailAddress "[email protected]" -InviteRedirectUrl "https://myapplications.microsoft.com" -InvitedUserMessageInfo $InvitedUserMessageInfo -SendInvitationMessage -Debug
55+
```
56+
This example will send cc email to a new invited user

src/Identity.SignIns/v1.0/examples/New-MgInvitation.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,24 @@ Invite a guest user with the following:
2929
- Once the user redeems the invitation, the user will be redirected to https://myapplications.microsoft.com
3030
- The usertype will be set to Member
3131
- SendInvitationMessage is not specified so by default an invitation email will NOT be sent
32+
33+
### Example 2: Send CC email for a new invited user.
34+
35+
```powershell
36+
37+
Import-Module Microsoft.Graph.Identity.SignIns
38+
39+
$InvitedUserMessageInfo = @{
40+
CustomizedMessageBody = "Welcome!"
41+
ccRecipients = @(
42+
@{
43+
emailAddress = @{
44+
address = "[email protected]"
45+
}
46+
}
47+
)
48+
}
49+
50+
New-MgInvitation -InvitedUserDisplayName "User" -InvitedUserEmailAddress "[email protected]" -InviteRedirectUrl "https://myapplications.microsoft.com" -InvitedUserMessageInfo $InvitedUserMessageInfo -SendInvitationMessage -Debug
51+
```
52+
This example will send cc email to a new invited user

src/Security/Security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require:
1818
``` yaml
1919
directive:
2020
# Remove invalid paths.
21-
- remove-path-by-operation: ^security(.case.ediscoveryCase.noncustodialDataSource_.*DataSource)$
21+
- remove-path-by-operation: ^security(.case.ediscoveryCase.noncustodialDataSource_.*DataSource)$|^security_DeleteAttackSimulation$|^security_UpdateAttackSimulation$|^security_GetAttackSimulation$
2222
# Remove cmdlets
2323
- where:
2424
verb: Get|Update

0 commit comments

Comments
 (0)