Skip to main content

Get-MsIdSigningKeyThumbprint

SYNOPSIS

Get signing keys used by Azure AD.

SYNTAX

Get-MsIdSigningKeyThumbprint [[-Tenant] <Object>] [[-Environment] <Object>] [-Latest]
[[-DownloadPath] <String>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

Get-MsIdSigningKeyThumbprint

Get common Azure AD signing key thumbprints.

EXAMPLE 2

Get-MsIdSigningKeyThumbprint -Tenant <tenandId>

Get Azure AD signing key thumbprints for the given tenant.

EXAMPLE 3

Get-MsIdSigningKeyThumbprint -Tenant <tenandId> -Latest

Get the latest Azure AD signing key thumbprint for the given tenant.

EXAMPLE 4

Get-MsIdSigningKeyThumbprint -DownloadPath C:\temp

Export the certificates to a folder destination.

PARAMETERS

-Tenant

Tenant ID

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: Common
Accept pipeline input: False
Accept wildcard characters: False

-Environment

Cloud environment

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: Prod
Accept pipeline input: False
Accept wildcard characters: False

-Latest

Return the latest certificate

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-DownloadPath

Location to save certificate

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

OUTPUTS

NOTES