Sharing Azure Compute Gallery using App Registration

Kuldeep Singh
6
Reputation points
I have been trying to share Azure Compute Gallery using App Registration (method shown on MS docs https://learn.microsoft.com/en-us/azure/virtual-machines/linux/share-images-across-tenants) but in step where URL needs to edited and opened by tenant 2:
- https://login.microsoftonline.com/<Tenant 2 ID>/oauth2/authorize?client_id=<Application (client) ID>&response_type=code&redirect_uri=https%3A%2F%2Fwww.microsoft.com%2F
When this URL is opened, I am taken to the permission page, I click accept on the prompt, then I am redirected to the MS website.
I couldn't figure out if there is some configuration mistake I am making or something else.
Page I am taken to after accepting the prompt
Sign in to answer