-1

Note: Currently I cannot test the suggested scenario below as I don't have the access to deploy a managedapp that I can publish to another tenant outside the one I am logged onto so I am looked for confirmation on my following questions.

I have been using az managedapp list to get managed apps in a subscription as follows:

az managedapp list --subscription "my subscriptionId"

Here is the Microsoft documentation for az managedapp list: https://learn.microsoft.com/en-us/cli/azure/managedapp?view=azure-cli-latest#az-managedapp-list

I know that you can also run az managedapp list with no parameters as follows:

az managedapp list

Will it get EVERY managed app instance that the logged-on service principal has access to regardless of the tenant you are logged onto? Even in Azure tenants that we don't own but the owners have chosen to deploy one of our managed apps?:

az login --service-principal -u $(CLIENTID) -p $(CLIENTSECRET) --tenant $(TENANT)

So, my QUESTION is, can anyone from the azcli team or other help me understand what is returned when I run only the following whilst being logged into a single tenant.

az managedapp list

cheers Russ

RuSs
  • 1,725
  • 1
  • 29
  • 47

0 Answers0