Closed jharbieh closed 3 months ago
Thanks @jharbieh we'll reproduce the error on our end.
@jharbieh I wasn't able to reproduce the same error. Have you tried again after that?
Hey @justinyoo I did on 3 tenants. 2 of them stuck on API import as shown above. The 3rd tenant did not, however, it did not import the API. I assume it was trying to import the APIM USPTO API definition from APIM into APIC. API Center still had 3 APIs. It did actually give me a message. What I can do is azd down and then up and see if I get the message again.
Hi @justinyoo Just did and had two different outputs. The latter it seems to be a mismatch in the cli command to import an API.
@jharbieh There have been recent updates on the sample
az apic-extension
. Would you please update your az CLI to the latest? az upgrade --allow-preview true
Thanks @justinyoo Just ran the CLI upgrade. It seems to have the latest. I will re-do and report back.
As far as permissions, I will run this on another tenant where I am Global Admin and report back. I am a Subscription Owner on where I am trying this out.
Thanks!
Hi @justinyoo I redeployed the reference repo using a Global Administrator account in Entra. The Import API part worked. USPTO API was imported from APIM successfully. Prior to azd up, I made sure the AZ CLI and APIC-Extension are updated.
Other than the need to be a Global Admin for the deployment, we should be good to go here.
Thoughts?
Thanks!
Because you should have permissions to run this command:
I think you should have either "Application Administrator" or "Application Developer" role. The "Application Admin" role can update apps generated by others while the "App Dev" role is only able to update the app generated by themselves.
I confirm that, given that I've only got the "application developer" role, I was successfully able to run azd up
with no issue.
Thanks @justinyoo great to know! Thanks for looking into this and confirming RBAC role required for the command.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
I attempted this multiple times.