File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change @@ -34,3 +34,23 @@ New-MgBetaInvitation -BodyParameter $params
3434```
3535This 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 = "user@ccaddress.com"
49+ }
50+ }
51+ )
52+ }
53+
54+ New-MgBetaInvitation -InvitedUserDisplayName "User" -InvitedUserEmailAddress "user@logonaddress.com" -InviteRedirectUrl "https://myapplications.microsoft.com" -InvitedUserMessageInfo $InvitedUserMessageInfo -SendInvitationMessage -Debug
55+ ```
56+ This example will send cc email to a new invited user
Original file line number Diff line number Diff 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 = "user@ccaddress.com"
45+ }
46+ }
47+ )
48+ }
49+
50+ New-MgInvitation -InvitedUserDisplayName "User" -InvitedUserEmailAddress "user@logonaddress.com" -InviteRedirectUrl "https://myapplications.microsoft.com" -InvitedUserMessageInfo $InvitedUserMessageInfo -SendInvitationMessage -Debug
51+ ```
52+ This example will send cc email to a new invited user
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ require:
1818` ` ` yaml
1919directive :
2020# Remove invalid paths.
21- - remove-path-by-operation : ^security(.case.ediscoveryCase.noncustodialDataSource_.*DataSource)$|^security.dataDiscovery.cloudAppDiscovery.uploadedStream_aggregatedAppsDetail$
21+ - remove-path-by-operation : ^security(.case.ediscoveryCase.noncustodialDataSource_.*DataSource)$|^security_DeleteAttackSimulation$|^security_UpdateAttackSimulation$|^security_GetAttackSimulation$|^ security.dataDiscovery.cloudAppDiscovery.uploadedStream_aggregatedAppsDetail$
2222# Remove cmdlets
2323 - where :
2424 verb : Get|Update
You can’t perform that action at this time.
0 commit comments