Hi,
I've recently created my first ever Office 365 SharePoint online site for a company I'm currently working for, and whilst I can find my way around based on knowledge using SharePoint 2010 (but just as a user), I am building everything from scratch. Everything
is going ok so far and I've read articles on the MS Community regarding using Azure functions to ask SharePoint to create a folder when in MS Flows. I need this function to work given what I'm asking it do. For example, I've set up an online form in InfoPath
and published it to a SharePoint List, and then in MS Flows I'm asking it to:
- When I new item is created in the SharePoint List
- Send an email with options i.e. to approve, decline or further detail required
- If approved, a new folder is to be created in a specific document library using one of the dynamic field options that I pre-selected from the newly created form
The problem is that having tested the workflow some 10 times, when it comes to creating the new folder using the Azure function app that I've created, it keeps coming up with 'Unauthorized'.
I've gone into my function app and checked the authentication and checked that its turned on and it is, but I don't know what else I need to be looking for or what I've missed.
Being a novice at this, I'm using learning material to get this up and running so any help would be really appreciated as I need this 'create folder function' to work; it's a huge part of the main process and why we are using SharePoint in the first place
Thank you in advance.
Ginny