Created
October 2, 2020 17:02
-
-
Save BelRarr/c4fc9ee742474852d249a936099408a7 to your computer and use it in GitHub Desktop.
Check the expiration date of your Service Principal
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
$sp = Get-AzADServicePrincipal -DisplayName $myServiceprincipalName | |
Get-AzADSpCredential -ObjectId $sp.Id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment