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

EnterpriseArchitect 5,761 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.
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,517 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,914 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,276 questions
{count} votes

Accepted answer
  1. Limitless Technology 44,696 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.