Hi All!
I've a powerautomate flow that has to delete a users permission from a sharepoint folder based on the users email address.
I've created a GET request to get the users principal ID as below:
GET request to get the user principal ID
Than i have some steps to extract the principal ID.
And finally i have a step which should delete the permission based on the principal ID got above. It looks like this:
DELETE request based on Principal ID
However when i run it it gives the following results:
1) Principal ID is got successfully:
Principal ID is OK
2) Delete request is not working. Error: Can not find the principal with id
Can not find the principal with id
When i was looking for a solution i found this exact solution everywhere... Why is it just not working for me? The permission for the specified email address is surely given to the folder. The user for who the permission is given is an externaly user, idk if this has to do sg with the problem.
Can you please help me solve this issue.. its very annoying.
Thank you so much!
Ruben