
I have a flow that saves a photo to sharepoint, then passes that photo to the Face API.
When i pass the Url to the photo to the Face API i get an error saying "forbidden".
Most likely its because the face api does not have access to sharepoint or the folder. How do i grant the flow or face api access to a sharepoint folder?
Hi @winston_smyth ,
Could you please share a screenshot more about your flow's configuration?
Could you please show more details about the error message within your flow?
Based on the issue that you mentioned, I have made a test, and the issue is confirmed on my side. Actually, it is an known limit with images stored in SP Site -- The images stored in SP Site need authentication to access them.
Currently, there is no way to grant the access permission of a SP Site to a Face API connector in Power Automate. If you would like this feature to be added in Power Automate, please submit an idea to Power Automate Ideas Forum:
https://powerusers.microsoft.com/t5/Power-Automate-Ideas/idb-p/MPAIdeas
As an alternative solution, you could store the image file into a Shares folder without authentication to access, then pass the URL of the image file to the "Detect faces" action of your Face API connector, check if the issue is solved.
Note: The image URL must be one of the following format:
https://faceswaponline.com/wp-content/uploads/2017/01/bean-mona2.jpg
https://faceswaponline.com/wp-content/uploads/2017/01/bean-mona2.jpeg
https://faceswaponline.com/wp-content/uploads/2017/01/bean-mona2.png
https://faceswaponline.com/wp-content/uploads/2017/01/bean-mona2.gif
https://faceswaponline.com/wp-content/uploads/2017/01/bean-mona2.bmp
Best regards,