Skip to content
  •  
  •  
  •  
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,34 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Add-MgServicePrincipalKey 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-MgServicePrincipalKey -ServicePrincipalId $servicePrincipalId -BodyParameter $params
```

{{ Add description here }}

### Example 2: {{ Add title here }}
This example shows how to use the Add-MgServicePrincipalKey Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
### Example 2: Using the Add-MgServicePrincipalKey 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-MgServicePrincipalKey -ServicePrincipalId $servicePrincipalId -BodyParameter $params
```

{{ Add description here }}

This example shows how to use the Add-MgServicePrincipalKey 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,12 @@
### Example 1: {{ Add title here }}
### Example 1: Using the Add-MgServicePrincipalPassword Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
$params = @{
PasswordCredential = @{
DisplayName = "Password friendly name"
}
}
Add-MgServicePrincipalPassword -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-MgServicePrincipalPassword 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 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-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-MgServicePrincipalAppRoleAssignedTo Cmdlet
```powershell
PS C:\> {{ Add code here }}

{{ Add output here }}
Import-Module Microsoft.Graph.Applications
Get-MgServicePrincipalAppRoleAssignedTo -ServicePrincipalId $servicePrincipalId
```

{{ 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-MgServicePrincipalAppRoleAssignedTo Cmdlet.
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
Loading