azcopy error: get cached token failed to ensure token fresh
Looking into an azcopy issue complaining about this error.
"failed to perform copy command due to error: get cached token failed to ensure token fresh, please log in with azcopy's login command again, Manually created ServicePrincipalToken does not contain secret material to retrieve a new access token".
I am sure my service principal is working fine and has the proper secrets and expiry configured.
And was able to resolve this by using azcopy binary version 10.27.1 (the latest at this time).
No luck with version 10.25.0
Comments