Dec 08 2022 07:32 AM
Hello,
I have problem where I would like to remove owner of the group, but instead of the user is completely removed. I am using Azure function HTTP triggered as PowerShell with HTTPs RestMethod.
Payload:
Code:
There is no error, code returned is 204, so as it should, everything is fine, beside the fact that user is deleted completely from the tenant.
When I ran it from Graph Explorer, everything works perfectly fine as it supposed to. Any advice?
Thanks, in advance.
Dec 08 2022 08:21 AM
SolutionDec 09 2022 02:39 AM