cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aheskia
New Member

Trigger a flow when document created on an external SPO document library

Hi,

 

One of my suppliers create files on an SPO that I have access to with my O365 credentials (I have been been invited to that SPO site and I do have acces to that file without any issue) :

 

I need to copy this file to one of my SPO Site:

 

When I create the flow (on my tenant) with the trigger "When a file is created (properties only)" and the following parameters :

it creates a connection with my O365 username but I get an error 401 regarding incorrect permission. 

aheskia_0-1621265327973.png

How can I solve this ?

1 ACCEPTED SOLUTION

Accepted Solutions
v-duann-msft
Community Support
Community Support

Hi @aheskia 

 

Thank you for posting.

 

According to your description, you would like to trigger sharepoint site from external tenant but get permission error. If any misunderstanding, please kindly let me know.

 

Please check this site first.

https://docs.microsoft.com/en-us/power-automate/environments-overview-maker

 

It clearly says "When you switch environments, you see only items that are created in that specific environment; you won't see or have access to items in any other environment." So what you want to do is not possible at the moment.

v-duann-msft_0-1621306004883.png

 

Hope the content above may help you.

 

Best regards,

Anna

View solution in original post

3 REPLIES 3
v-duann-msft
Community Support
Community Support

Hi @aheskia 

 

Thank you for posting.

 

According to your description, you would like to trigger sharepoint site from external tenant but get permission error. If any misunderstanding, please kindly let me know.

 

Please check this site first.

https://docs.microsoft.com/en-us/power-automate/environments-overview-maker

 

It clearly says "When you switch environments, you see only items that are created in that specific environment; you won't see or have access to items in any other environment." So what you want to do is not possible at the moment.

v-duann-msft_0-1621306004883.png

 

Hope the content above may help you.

 

Best regards,

Anna

Hi Anna

Thanks for your information. So there is no way for me to get documents from an external SPO site even if my credentials are authiorized to connect to that site ?

Thanks for your support,

Antoine Heskia

Hi @aheskia 

 

Thank you for your reply.

 

Yes, that's right as all power automate/apps are based on environment. Since we can access anything across different environments, we can't access sharepoint site located in other tenants. This is a by design issue.

 

Sorry for the inconvenience caused. If possible, you can go to UserVoice website to post your request.

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas

 

Please click Accept as Solution if my post is helpful to you. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

 

Best regards,

Anna

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,263)