-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Microsoft Graph DevX Tooling
authored and
Microsoft Graph DevX Tooling
committed
Nov 1, 2024
1 parent
09855d3
commit ce5c1f7
Showing
8 changed files
with
35 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### Example | ||
|
||
```powershell | ||
Import-Module Microsoft.Graph.Beta.Applications | ||
Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId | ||
``` | ||
This example will### example | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### Example | ||
|
||
```powershell | ||
Import-Module Microsoft.Graph.Applications | ||
Get-MgServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId | ||
``` | ||
This example will### example | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,10 @@ | |
Import-Module Microsoft.Graph.Beta.Bookings | ||
$params = @{ | ||
externalRegistrationInformation = @{ | ||
referrer = "Facebook" | ||
registrationId = "myExternalRegistrationId" | ||
} | ||
preferredTimezone = "Pacific Standard Time" | ||
preferredLanguage = "en-us" | ||
registrationQuestionAnswers = @( | ||
|
@@ -51,6 +55,10 @@ $params = @{ | |
firstName = "Diane" | ||
lastName = "Demoss" | ||
email = "[email protected]" | ||
externalRegistrationInformation = @{ | ||
referrer = "Facebook" | ||
registrationId = "myExternalRegistrationId" | ||
} | ||
preferredTimezone = "Pacific Standard Time" | ||
preferredLanguage = "en-us" | ||
registrationQuestionAnswers = @( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,20 +7,7 @@ Import-Module Microsoft.Graph.Beta.Security | |
$params = @{ | ||
displayName = "My legalHold with sources" | ||
description = "Created from Graph API" | ||
"[email protected]" = @( | ||
@{ | ||
"@odata.type" = "microsoft.graph.security.userSource" | ||
email = "[email protected]" | ||
} | ||
) | ||
"[email protected]" = @( | ||
@{ | ||
"@odata.type" = "microsoft.graph.security.siteSource" | ||
site = @{ | ||
webUrl = "https://m365x809305.sharepoint.com/sites/Design-topsecret" | ||
} | ||
} | ||
) | ||
contentQuery = "KQL content query" | ||
} | ||
New-MgBetaSecurityCaseEdiscoveryCaseLegalHold -EdiscoveryCaseId $ediscoveryCaseId -BodyParameter $params | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ Import-Module Microsoft.Graph.Security | |
$params = @{ | ||
email = "[email protected]" | ||
includedSources = "mailbox, site" | ||
includedSources = "mailbox" | ||
} | ||
New-MgSecurityCaseEdiscoveryCaseCustodianUserSource -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryCustodianId $ediscoveryCustodianId -BodyParameter $params | ||
|