Missing some subscriptions in Azure DevOps UI when using automatic service principal
I am trying to select a subscription I have access to in another tenant from my Azure DevOps UI where I am connected to the Azure tenant AAD as a member with external login and certain permissions/roles.
In this case I want to select a subscription that I have created a resource group and an app service in so that I can create the deployment pipeline using a pre-configured template in Azure DevOps.
Previously, my account on Azure DevOps was email@example.com and the account in Azure portal was firstname.lastname@example.org as it was a different AAD. I have since added email@example.com to the AAD of the Azure portal where the subscription resides and given it some permissions to access these subscriptions. MFA is set up on both accounts.
The really frustrating thing about this is that I did get it working temporarily last night and could both select the subscription in AzureDevOps and login when prompted with the firstname.lastname@example.org account but today it seems to have reverted back to be missing the subscriptions from the additional tenant.
It is also an issue when I try to set up a new service connection but assuming it depends on same permissions in place.
Thank you for any help you can provide.
Is there a particular reason you can't just use the manual SP approach? I have also had issues in the past using the
automaticflow as well, so I usually just add in my SP creds and get on with it rather than hope all my default subscriptions have been exposed for each tenant etc.