You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But if I use the Az.Account module version 2.13.2 and Az module 11.0.0, it breaks and I get the following error message:
Connect-AzAccount : Entry point was not found.
Could not find tenant id for provided tenant domain 'xxxxxxxxxxxxxxxxxxxxx'. Please ensure that the provided
service principal 'yyyyyyyyyyyyyyyyyyyyyyy' is found in the provided tenant domain.
At line:53 char:1
+ Connect-AzAccount -ServicePrincipal -Credential $ProdCredentials -Ten ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Connect-AzAccount], ArgumentNullException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.ConnectAzureRmAccountCommand
Get-AzAccessToken : Entry point was not found.
At line:54 char:23
+ ... ss_token = (Get-AzAccessToken -ResourceUrl https://database.windows.n/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Get-AzAccessToken], EntryPointNotFoundException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.GetAzureRmAccessTokenCommand
If I manually load the Az.Account module version 2.10.2 it works again.
Are there any known issues with version 2.13.2 that could be preventing my script from working? We recently discovered this issue with a newly provisioned server.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I have the following line in one of my scripts that is working fine with the Az.Account module version 2.10.2 and Az module 9.0.1:
Connect-AzAccount -ServicePrincipal -Credential $ProdCredentials -Tenant $tenantId -SubscriptionId $SubscriptionID
But if I use the Az.Account module version 2.13.2 and Az module 11.0.0, it breaks and I get the following error message:
If I manually load the Az.Account module version 2.10.2 it works again.
Are there any known issues with version 2.13.2 that could be preventing my script from working? We recently discovered this issue with a newly provisioned server.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions