Created
October 6, 2023 13:46
-
-
Save alexjamesbrown/6d4aa28865c392c00844795030e93a71 to your computer and use it in GitHub Desktop.
Sometimes, you just need to get the currently logged in users Azure AD Principal ID. This command does just that, and pipes it straight to the clipboard
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
az ad signed-in-user show --query id -o tsv | clip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment