cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
biancadevera
Helper III
Helper III

Add data from different M365 account

Hi,

 

I currently have an app under admin@company1.com. But I would like to connect to another data source from a different account that I also have access to. However, that account is not under my current domain. It's user@company2.com. Is this possible? Please note that these are both M365 account. I just don't have access to Power Apps service in my user@company2.com account

1 ACCEPTED SOLUTION

Accepted Solutions
rubin_boer
Super User
Super User

hi @biancadevera 

 

you can access data from the other tenant:

  • add a new connection (let's use SharePoint)
  • add the connector to your app

Current tenant (zig....)

rubin_boer_0-1640708081931.png

 

Let's add connection (and follow all steps, you can do this when adding data in the app as well)

rubin_boer_1-1640708155376.png

 

Now lets consume the data from the addedd sharepoint connection

rubin_boer_2-1640708329625.png

 

There you go, by adding the connection you can access data from two different M365 accounts.

 

Hope it helps,

R

 

 

View solution in original post

6 REPLIES 6
biancadevera
Helper III
Helper III

Please help @WarrenBelz @StalinPonnusamy @CNT 

rubin_boer
Super User
Super User

hi @biancadevera 

 

you can access data from the other tenant:

  • add a new connection (let's use SharePoint)
  • add the connector to your app

Current tenant (zig....)

rubin_boer_0-1640708081931.png

 

Let's add connection (and follow all steps, you can do this when adding data in the app as well)

rubin_boer_1-1640708155376.png

 

Now lets consume the data from the addedd sharepoint connection

rubin_boer_2-1640708329625.png

 

There you go, by adding the connection you can access data from two different M365 accounts.

 

Hope it helps,

R

 

 

Hi @rubin_boer  Does it need some configuration from the Power Platform administrator like allowing external connections?

rubin_boer
Super User
Super User

hi @biancadevera I am not sure I will have to check with them, but i don't think it is necessary but will revert.

 

Regards,

R

biancadevera
Helper III
Helper III

This is the error I'm having. I followed the instructions you provided. After clicking SharePoint, it asks me to enter credentials where I used my second account.

 

error.jpg

 

rubin_boer
Super User
Super User

hi @biancadevera it looks like you have cross-tenant isolation which prohibit you access to other tenants. We have multi tenants and I can connect to them and other tenants which are not listed in our AAD. My understanding is that you should connect to SP unless isolation is explicitly enabled. 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,570)