How to get guest users list from Azure AD

HASSAN BIN NASIR DAR 391 Reputation points
2023-02-02T00:27:22.49+00:00

Hi

I have multiple domains in my tenant. I want to get a list of guest users. Please see below example of account, what kind of guest users I want to get.

rambo.jan_test.com#EXT#@abc.onmicrosoft.comm (This is UPN)

I have number of accounts like this in my tenant. Please provide me a powershell cmdlet or script. thanks

Regards

Microsoft 365 and Office Install, redeem, activate For business Windows
Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Morgan Thevarajan 0 Reputation points
    2024-11-01T15:31:18.92+00:00

    You can find them here https://admin.microsoft.com/AdminPortal/Home#/GuestUsers

    Remove the email column

    Copy and paste as text into Excel

    Sort ascending to get rid of the useless line items and clean it up the XLSX

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.