Hi @PamudithaMadushanka-8226 ·
If you are using Azure AD user account, you can use below Graph Call:
- Open Graph Explorer and sign in with user administrator or global administrator account.
- Run below call:
Permissions required :
Delegated permissions - User.Read, GroupMember.Read.All, Directory.Read.All, Directory.ReadWrite.All, Directory.AccessAsUser.All
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.