Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,18 +1,34 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Add-MgApplicationKey Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
$params = @{
KeyCredential = @{
Type = "AsymmetricX509Cert"
Usage = "Verify"
Key = [System.Text.Encoding]::ASCII.GetBytes("MIIDYDCCAki...")
}
PasswordCredential = $null
Proof = "eyJ0eXAiOiJ..."
}
Add-MgApplicationKey -ApplicationId $applicationId -BodyParameter $params
```

{{ Add description here }}

### Example 2: {{ Add title here }}
This example shows how to use the Add-MgApplicationKey Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
### Example 2: Using the Add-MgApplicationKey Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
$params = @{
KeyCredential = @{
Type = "X509CertAndPassword"
Usage = "Sign"
Key = [System.Text.Encoding]::ASCII.GetBytes("MIIDYDCCAki...")
}
PasswordCredential = @{
SecretText = "MKTr0w1..."
}
Proof = "eyJ0eXAiOiJ..."
}
Add-MgApplicationKey -ApplicationId $applicationId -BodyParameter $params
```

{{ Add description here }}

This example shows how to use the Add-MgApplicationKey Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Add-MgServicePrincipalTokenSigningCertificate Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
$params = @{
DisplayName = "CN=customDisplayName"
EndDateTime = [System.DateTime]::Parse("2024-01-25T00:00:00Z")
}
Add-MgServicePrincipalTokenSigningCertificate -ServicePrincipalId $servicePrincipalId -BodyParameter $params
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
```

{{ Add description here }}

This example shows how to use the Add-MgServicePrincipalTokenSigningCertificate Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Clear-MgApplicationVerifiedPublisher Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Clear-MgApplicationVerifiedPublisher -ApplicationId $applicationId
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
```

{{ Add description here }}

This example shows how to use the Clear-MgApplicationVerifiedPublisher Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Find-MgServicePrincipalSynchronizationJobSchemaDirectory Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Find-MgServicePrincipalSynchronizationJobSchemaDirectory -ServicePrincipalId $servicePrincipalId -SynchronizationJobId $synchronizationJobId -DirectoryDefinitionId $directoryDefinitionId
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
```

{{ Add description here }}

This example shows how to use the Find-MgServicePrincipalSynchronizationJobSchemaDirectory Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Get-MgApplicationDelta Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgApplicationDelta
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
```

{{ Add description here }}

This example shows how to use the Get-MgApplicationDelta Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Get-MgApplicationExtensionProperty Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgApplicationExtensionProperty -ApplicationId $applicationId
```

{{ Add description here }}

### Example 2: {{ Add title here }}
This example shows how to use the Get-MgApplicationExtensionProperty Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
### Example 2: Using the Get-MgApplicationExtensionProperty Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgApplicationExtensionProperty -ApplicationId $applicationId -ExtensionPropertyId $extensionPropertyId
```

{{ Add description here }}

This example shows how to use the Get-MgApplicationExtensionProperty Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Get-MgApplicationFederatedIdentityCredential Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId -FederatedIdentityCredentialId $federatedIdentityCredentialId
```

{{ Add description here }}

### Example 2: {{ Add title here }}
This example shows how to use the Get-MgApplicationFederatedIdentityCredential Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
### Example 2: Using the Get-MgApplicationFederatedIdentityCredential Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgApplicationFederatedIdentityCredential -ApplicationId $applicationId
```

{{ Add description here }}

This example shows how to use the Get-MgApplicationFederatedIdentityCredential Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Get-MgApplicationOwner Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgApplicationOwner -ApplicationId $applicationId
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
```

{{ Add description here }}

This example shows how to use the Get-MgApplicationOwner Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Get-MgApplicationSynchronizationAccessToken Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
$params = @{
Credentials = @(
@{
"@odata.type" = "microsoft.graph.synchronizationSecretKeyStringValuePair"
}
)
}
Get-MgApplicationSynchronizationAccessToken -ApplicationId $applicationId -BodyParameter $params
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
```

{{ Add description here }}

This example shows how to use the Get-MgApplicationSynchronizationAccessToken Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Get-MgApplicationTemplate Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgApplicationTemplate -ApplicationTemplateId $applicationTemplateId
```

{{ Add description here }}

### Example 2: {{ Add title here }}
This example shows how to use the Get-MgApplicationTemplate Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
### Example 2: Using the Get-MgApplicationTemplate Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgApplicationTemplate
```

{{ Add description here }}

This example shows how to use the Get-MgApplicationTemplate Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Get-MgApplicationTokenIssuancePolicy Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgApplicationTokenIssuancePolicy -ApplicationId $applicationId
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
```

{{ Add description here }}

This example shows how to use the Get-MgApplicationTokenIssuancePolicy Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Get-MgApplicationTokenLifetimePolicy Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgApplicationTokenLifetimePolicy -ApplicationId $applicationId
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
```

{{ Add description here }}

This example shows how to use the Get-MgApplicationTokenLifetimePolicy Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Get-MgOnPremisePublishingProfile Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgOnPremisePublishingProfile -OnPremisesPublishingProfileId $onPremisesPublishingProfileId -ExpandProperty "publishedResources,agents,agentGroups"
```

{{ Add description here }}

### Example 2: {{ Add title here }}
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
```

{{ Add description here }}

This example shows how to use the Get-MgOnPremisePublishingProfile Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Get-MgOnPremisePublishingProfileAgent Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgOnPremisePublishingProfileAgent -OnPremisesPublishingProfileId $onPremisesPublishingProfileId -ExpandProperty "agentGroups"
```

{{ Add description here }}

### Example 2: {{ Add title here }}
This example shows how to use the Get-MgOnPremisePublishingProfileAgent Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
### Example 2: Using the Get-MgOnPremisePublishingProfileAgent Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgOnPremisePublishingProfileAgent -OnPremisesPublishingProfileId $onPremisesPublishingProfileId -OnPremisesAgentId $onPremisesAgentId -ExpandProperty "agentGroups"
```

{{ Add description here }}

This example shows how to use the Get-MgOnPremisePublishingProfileAgent Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Loading