Getting report for any devices registered and Azure AD joined in the past hour via email?

EnterpriseArchitect 6,041 Reputation points
2023-04-20T07:50:23.2333333+00:00

I'm using Azure AD Premium P2 and haven't yet implemented Intune.

  • How can I get a report of any devices that have joined and registered to my domain via Azure AD in the last hour by email?
  • Is there a PowerShell script or even a built-in Azure AD report that can be used to automate this process? Any assistance would be appreciated. Thank you ahead of time.
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
{count} votes

Accepted answer
  1. Limitless Technology 44,766 Reputation points
    2023-04-21T11:52:46.0933333+00:00

    Hi, I'd be happy to help you out with your question. Sorry for the inconvenience caused. To get a report of any devices that have joined and registered to your domain via Azure AD in the last hour, you can use the Azure AD PowerShell module. This will require you to have some technical knowledge and access to PowerShell. Here are the steps you can follow:

    • Install the Azure AD PowerShell module by running the following command in PowerShell: Install-Module AzureAD
    • Connect to your Azure AD tenant by running the following command in PowerShell: Connect-AzureAD
    • Run the PowerShell script provided to get the list of devices that have joined and registered to your domain via Azure AD in the last hour. This script will only work if your devices are registered with Azure AD. If you have not yet implemented Intune, your devices may not be registered.
    • If you want to email the report to yourself, you can use the Send-MailMessage cmdlet. However, this will require additional technical knowledge and configuration. For more Information, please refer to following resource :- Audit logs in Azure Active Directory - https://learn.microsoft.com/azure/active-directory/reports-monitoring/concept-audit-logs If you have any other questions or need assistance with anything, please don't hesitate to let me know. I'm here to help.

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.