cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jmathews
Level: Power Up

Connecting Flow To Multiple Tenants

I have two Azure subscriptions, which have unique tenant IDs. One is my company's "production" environment and the other is one each of our developers received with a monthly credit from our Visual Studio MPN, I'll call that one "dev". For O365 we only have one tenant.

 

I have created an Azure Automation Runbook in dev and added to a flow that is triggered by a Sharepoint list item creation event. It works great and I was able to test the code several times without messing with our production Azure environment. Once I got the sign-off to migrate to the production side, I can't seem to access the production tenant. It doesn't appear in the drop down, I've tried submitting the subscription ID as it states in the dialog box as well the tenant ID. Neither of those worked and I reveice the below message

Could not retrieve values. The access token is from the wrong issuer 'https://sts.windows.net/58e6813e-XXXX-XXXX-XXXX-3aXXXXXXX58b/'. It must match the tenant 'https://sts.windows.net/1617d2f6-XXXX-XXXX-XXXX-44XXXXXX46a4/' associated with this subscription. Please use the authority (URL) 'https://login.windows.net/1617d2f6-XXXX-XXXX-XXXX-44XXXXXX46a4' to get the token. Note, if the subscription is transferred to another tenant there is no impact to the services, but information about new tenant could take time to propagate (up to an hour). If you just transferred your subscription and see this error message, please try back later.

 

Is there something that I"m missing to register the production tenant and how is it that the dev one seems to be the default without me doing anything?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Connecting Flow To Multiple Tenants

Hi @jmathews,

 

Note, if the subscription is transferred to another tenant there is no impact to the services, but information about new tenant could take time to propagate (up to an hour). If you just transferred your subscription and see this error message, please try back later.

Is it the first time to sign-in the production environment? If not, it could be caused by you just transferred your subscription.

Now, have you still have the issue?

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

jmathews
Level: Power Up

Re: Connecting Flow To Multiple Tenants

We only have one O365 subscription which we've been using for years. The production Azure tenant has also been around for some time. It appears that somehow Flow got paired to the development tenant in Azure and won't see the production one.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,403)