# get-azuread-guestusers
Retrieve all guest users from the Azure tenant (MS Graph REST API)
This script requires the Web Application and permissions setup in target Azure tenant.
No parameters required - just below registered application details updated in the script code:
$ClientID = "{your ID here}" # Should be a ~35 character string insert your info here
$ClientSecret = "{your secret here}" # Should be a ~44 character string insert your info here
$tenantdomain = "{your tenant here}.onmicrosoft.com" # For example, contoso.onmicrosoft.com
$loginURL = "https://login.windows.net"
How to register application - https://docs.microsoft.com/en-us/graph/auth-v2-service
Permission required - Appliction:Directory.Read.All
Remember to consent to application !
-
Notifications
You must be signed in to change notification settings - Fork 0
Retrieve all guest users from the Azure tenant (MS Graph REST API)
License
pstepien77/get-azuread-guestusers
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Retrieve all guest users from the Azure tenant (MS Graph REST API)
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published