Hello,
We have a job JOBP.AAS_RESUME_PROD - RESUME_MSAZUDB20 which is aborted. We found the below error in the job report -
WARNING: Unable to acquire token for tenant 'organizations' with error 'UsernamePasswordCredential authentication
failed: Federated service at
https://adfs.pernod-ricard.com/adfs/services/trust/2005/usernamemixed returned error:
ID3242: The security token could not be authenticated or authorized.
See the troubleshooting guide for more information.
https://aka.ms/azsdk/net/identity/usernamepasswordcredential/troubleshoot'Connect-AzAccount : UsernamePasswordCredential authentication failed: Federated service at
https://adfs.pernod-ricard.com/adfs/services/trust/2005/usernamemixed returned error: ID3242: The security token could
not be authenticated or authorized.
See the troubleshooting guide for more information.
https://aka.ms/azsdk/net/identity/usernamepasswordcredential/troubleshootAt E:\Automic\Agents\Windows\temp\JAQRPPOI.TXT.ps1:7 char:1
+ Connect-AzAccount -Credential:$UserCredential | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Connect-AzAccount], AuthenticationFailedException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.Profile.ConnectAzureRmAccountCommand
Action: Resume
Status Before Script Run: Succeeded
msazudb20 is already: Succeeded, no changes were made
Error!
Could you please help with this?
Thanks!