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
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.

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.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,059)