Comment 29 for bug 1680523

Revision history for this message
Ali Kheyrollahi (aliostad) wrote : Re: add-credential azure fails

Hi Any movement on this? I am getting same error:

~ ❯❯❯ juju add-credential azure ⏎
Enter credential name: asos

Auth Types
  interactive
  service-principal-secret

Select auth type [interactive]:

Enter subscription-id (optional):

Initiating interactive authentication.

To sign in, use a web browser to open the page https://aka.ms/devicelogin and enter the code DS939T485 to authenticate.

Authenticated as "Ali Kheyrollahi".
ERROR finalizing credential: creating service principal: max duration exceeded: ad.ServicePrincipalsClient#Create: Failure responding to request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="Request_ResourceNotFound" Message="Resource 'ServicePrincipal_80c37f1d-6063-400d-bc47-7a05b653eb32' does not exist or one of its queried reference-property objects are not present."