Hi
I managed to get a zap to create a folder in a sharepoint site for any new customer.
Once created, I need the URL that would allow any people to have read access to the folder (a shared link).
This can be done with Ms PowerAutomate with the following code.
Thanks
Code from Power Automate
{
"inputs": {
"host": {
"connectionName": "shared_sharepointonline",
"operationId": "CreateSharingLink",
"apiId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline"
},
"parameters": {
"dataset": "https://MYDOMAIN.sharepoint.com/",
"table": "2d76b717-5fc2-428-9e37-10e895",
"id": "@outputs('Create folder)?'body/ID']",
"permission/type": "view",
"permission/scope": "anonymous"
},
"authentication": "@parameters('$authentication')"
},
"metadata": {
"operationMetadataId": "f376f-8756-b3-bb87-04fa5ccee4"
}
}