Skip to content

Commit aac7b7b

Browse files
committed
a
1 parent cda6b2f commit aac7b7b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/pentesting-cloud/azure-security/az-services/az-azuread.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ Connect-AzAccount -Credential $creds
101101

102102
# Connect with access token
103103
Connect-AzAccount -AccountId test@corp.onmicrosoft.com [-AccessToken $ManagementToken] [-GraphAccessToken $AADGraphToken] [-MicrosoftGraphAccessToken $MicrosoftGraphToken] [-KeyVaultAccessToken $KeyVaultToken]
104+
# If connecting with some metadata token just use "-AccountId asdasd@example.com" and it will work
104105

105106
# Connect with Service principal/enterprise app secret
106107
$password = ConvertTo-SecureString 'KWEFNOIRFIPMWL.--DWPNVFI._EDWWEF_ADF~SODNFBWRBIF' -AsPlainText -Force

0 commit comments

Comments
 (0)