For user who has access to multiple directories (see screen shot below)
For azure web app I can generate link like below:
https://ms.portal.azure.com/#resource/{resourceId}/DeploymentSource
If the resource is in my default Directory, I can paste the link to the browser and it will open the right blade.
If I paste a link to a resource that is not in the default directory for the user, then I get the following:
However, If I first got to the root of portal.azure.com and switch directory to the targt webapp, then paste the link to the blade, then it works.
Is this possible to tell azure portal to switch directory based on the resource in question. Btw, this is for code that we are writing that is running outside the azure portal hosting frame (hence the desire to open specific blade for a given web app)
Thanks

