-
Notifications
You must be signed in to change notification settings - Fork 214
Merge to main 09 23 2025 v2.31.0 #3406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 16 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
313b952
Updating examples
a37c29d
Merge pull request #3372 from microsoftgraph/WeeklyExamplesUpdate/202…
ramsessanchez b93b489
adding template context
adrian05-ms b70669d
removing checkout
adrian05-ms de8230e
Merge pull request #3377 from microsoftgraph/feat/security-pipeline-fix
adrian05-ms c02426c
manually update openApi docs (#3373)
ramsessanchez 8a4bcd6
Updating examples (#3378)
MIchaelMainer 8eff8b8
Compress MgCommandMetadata.json to reduce whitespace/package size for…
sean-r-williams cbe3b2c
[v2] Weekly OpenApiDocs Refresh (#3379)
MIchaelMainer e6298e3
fix: include the groups on prem sync behavior in the OpenAPI spec (#3…
gavinbarron 7fec312
update azure.identity tooling (#3403)
ramsessanchez 6ea3d09
Updating examples (#3398)
MIchaelMainer 79dc52f
Update New-MgDomainFederationConfiguration.md (#3385)
juntakata 351e577
Fix missing extensionAttributes structure in PowerShell Example 2 for…
KonstantinMSFT db443b4
merge main into dev
ramsessanchez b14cdc1
bump to 2.31.0 for release
ramsessanchez 030a900
Fix: Include the users onPremSyncBehavior API in the OpenAPI spec (#3…
darshanmaiya ff8de4f
match version in auth csproj
ramsessanchez 1b1a196
merge dev into branch
ramsessanchez 74b15a6
[v2] Weekly OpenApiDocs Refresh (#3410)
MIchaelMainer 33cb40d
merge dev into branch
ramsessanchez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,11 +0,0 @@ | ||
| ### Example | ||
|
|
||
| ```powershell | ||
| Import-Module Microsoft.Graph.Beta.Applications | ||
| Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId | ||
| ``` | ||
| This example shows how to use the Get-MgBetaServicePrincipalSynchronizationTemplate Cmdlet. | ||
|
|
||
This file contains hidden or 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
17 changes: 14 additions & 3 deletions
17
...Education/beta/examples/Get-MgBetaEducationReportReadingAssignmentSubmission.md
This file contains hidden or 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 |
|---|---|---|
| @@ -1,11 +1,22 @@ | ||
| ### Example 1: Code snippet | ||
| ### Example 1: Get a list of reading assignment submissions from the last 24 hours | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.Education | ||
|
|
||
| Get-MgBetaEducationReportReadingAssignmentSubmission -Filter "submitDateTime gt 2023-10-10T00:00:00.000Z" | ||
| Get-MgBetaEducationReportReadingAssignmentSubmission | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaEducationReportReadingAssignmentSubmission Cmdlet. | ||
| This example will get a list of reading assignment submissions from the last 24 hours | ||
|
|
||
| ### Example 2: Get a list of the reading assignment submissions for a specific date using $filter | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.Education | ||
|
|
||
| Get-MgBetaEducationReportReadingAssignmentSubmission -Filter "submissionDateTime gt 2023-10-10T00:00:00.000Z and submissionDateTime lt 2023-10-11T00:00:00Z" | ||
|
|
||
| ``` | ||
| This example will get a list of the reading assignment submissions for a specific date using $filter | ||
|
|
22 changes: 22 additions & 0 deletions
22
src/Education/beta/examples/Get-MgBetaEducationReportReadingCoachPassage.md
This file contains hidden or 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,22 @@ | ||
| ### Example 1: Get a list of the Reading Coach passages from the last 24 hours | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.Education | ||
|
|
||
| Get-MgBetaEducationReportReadingCoachPassage | ||
|
|
||
| ``` | ||
| This example will get a list of the reading coach passages from the last 24 hours | ||
|
|
||
| ### Example 2: Get a list of the Reading Coach passages for a specific date using $filter | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.Education | ||
|
|
||
| Get-MgBetaEducationReportReadingCoachPassage -Filter "practicedAtDateTime gt 2025-06-22T00:00:00Z and practicedAtDateTime lt 2025-06-23T00:00:00Z" | ||
|
|
||
| ``` | ||
| This example will get a list of the reading coach passages for a specific date using $filter | ||
|
|
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
11 changes: 11 additions & 0 deletions
11
...ty.DirectoryManagement/beta/examples/Get-MgBetaAdminPeoplePhotoUpdateSetting.md
This file contains hidden or 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 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement | ||
|
|
||
| Get-MgBetaAdminPeoplePhotoUpdateSetting | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaAdminPeoplePhotoUpdateSetting Cmdlet. | ||
|
|
2 changes: 1 addition & 1 deletion
2
...entity.DirectoryManagement/v1.0/examples/New-MgDomainFederationConfiguration.md
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
11 changes: 11 additions & 0 deletions
11
src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessAlert.md
This file contains hidden or 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 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.NetworkAccess | ||
|
|
||
| Get-MgBetaNetworkAccessAlert | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaNetworkAccessAlert Cmdlet. | ||
|
|
11 changes: 11 additions & 0 deletions
11
src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessFilteringProfilePolicy.md
This file contains hidden or 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 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.NetworkAccess | ||
|
|
||
| Get-MgBetaNetworkAccessFilteringProfilePolicy -FilteringProfileId $filteringProfileId -Filter "isof('microsoft.graph.networkaccess.securityProviderPolicyLink')" | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaNetworkAccessFilteringProfilePolicy Cmdlet. | ||
|
|
11 changes: 11 additions & 0 deletions
11
src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessThreatIntelligencePolicy.md
This file contains hidden or 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 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.NetworkAccess | ||
|
|
||
| Get-MgBetaNetworkAccessThreatIntelligencePolicy | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaNetworkAccessThreatIntelligencePolicy Cmdlet. | ||
|
|
11 changes: 11 additions & 0 deletions
11
...ta/examples/Get-MgBetaNetworkAccessTlExternalCertificateAuthorityCertificate.md
This file contains hidden or 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 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.NetworkAccess | ||
|
|
||
| Get-MgBetaNetworkAccessTlExternalCertificateAuthorityCertificate | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaNetworkAccessTlExternalCertificateAuthorityCertificate Cmdlet. | ||
|
|
11 changes: 11 additions & 0 deletions
11
src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessTlInspectionPolicy.md
This file contains hidden or 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 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.NetworkAccess | ||
|
|
||
| Get-MgBetaNetworkAccessTlInspectionPolicy | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaNetworkAccessTlInspectionPolicy Cmdlet. | ||
|
|
11 changes: 11 additions & 0 deletions
11
src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessTlInspectionPolicyRule.md
This file contains hidden or 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 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.NetworkAccess | ||
|
|
||
| Get-MgBetaNetworkAccessTlInspectionPolicyRule -TlsInspectionPolicyId $tlsInspectionPolicyId | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaNetworkAccessTlInspectionPolicyRule Cmdlet. | ||
|
|
11 changes: 11 additions & 0 deletions
11
src/Reports/beta/examples/Get-MgBetaReportAuthenticationMethodUserEventSummary.md
This file contains hidden or 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 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.Reports | ||
|
|
||
| Get-MgBetaReportAuthenticationMethodUserEventSummary | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaReportAuthenticationMethodUserEventSummary Cmdlet. | ||
|
|
11 changes: 11 additions & 0 deletions
11
...ports/beta/examples/Get-MgBetaReportAuthenticationMethodUserMfaSignInSummary.md
This file contains hidden or 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 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.Reports | ||
|
|
||
| Get-MgBetaReportAuthenticationMethodUserMfaSignInSummary | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaReportAuthenticationMethodUserMfaSignInSummary Cmdlet. | ||
|
|
11 changes: 11 additions & 0 deletions
11
...amples/Get-MgBetaReportAuthenticationMethodUserPasswordResetAndChangeSummary.md
This file contains hidden or 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 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.Reports | ||
|
|
||
| Get-MgBetaReportAuthenticationMethodUserPasswordResetAndChangeSummary | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaReportAuthenticationMethodUserPasswordResetAndChangeSummary Cmdlet. | ||
|
|
17 changes: 17 additions & 0 deletions
17
src/Reports/v1.0/examples/Export-MgReportPartnerBillingReconciliationUnbilled.md
This file contains hidden or 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,17 @@ | ||
| ### Example 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Reports | ||
|
|
||
| $params = @{ | ||
| attributeSet = "full" | ||
| billingPeriod = "current" | ||
| currencyCode = "USD" | ||
| } | ||
|
|
||
| Export-MgReportPartnerBillingReconciliationUnbilled -BodyParameter $params | ||
|
|
||
| ``` | ||
| This example shows how to use the Export-MgReportPartnerBillingReconciliationUnbilled Cmdlet. | ||
|
|
25 changes: 25 additions & 0 deletions
25
src/Search/v1.0/examples/Add-MgExternalConnectionItemActivity.md
This file contains hidden or 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,25 @@ | ||
| ### Example 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Search | ||
|
|
||
| $params = @{ | ||
| activities = @( | ||
| @{ | ||
| "@odata.type" = "#microsoft.graph.externalConnectors.externalActivity" | ||
| type = "created" | ||
| startDateTime = [System.DateTime]::Parse("2021-04-06T18:04:31.033Z") | ||
| performedBy = @{ | ||
| type = "user" | ||
| id = "1f0c997e-99f7-43f1-8cca-086f8d42be8d" | ||
| } | ||
| } | ||
| ) | ||
| } | ||
|
|
||
| Add-MgExternalConnectionItemActivity -ExternalConnectionId $externalConnectionId -ExternalItemId $externalItemId -BodyParameter $params | ||
|
|
||
| ``` | ||
| This example shows how to use the Add-MgExternalConnectionItemActivity Cmdlet. | ||
|
|
11 changes: 11 additions & 0 deletions
11
src/Security/beta/examples/Get-MgBetaSecurityIncidentTask.md
This file contains hidden or 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 1: Code snippet | ||
|
|
||
| ```powershell | ||
|
|
||
| Import-Module Microsoft.Graph.Beta.Security | ||
|
|
||
| Get-MgBetaSecurityIncidentTask | ||
|
|
||
| ``` | ||
| This example shows how to use the Get-MgBetaSecurityIncidentTask Cmdlet. | ||
|
|
Empty file.
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2.30.0 or 2.31.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, it looks like the update version script didn't update this version number.