An API that connects multiple Microsoft services, enabling data access and automation across platforms
You can also delete user accounts from the server by using application permissions. However, whether you use the client or the server to delete users, you must grant administrator permissions to the call principal, because delete users is a sensitive operation, and only administrators have permission to perform this operation.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.