I was hoping for something similar to az ad user list or a method of finding the last logged on user with only a device name.
Thanks.
I was hoping for something similar to az ad user list or a method of finding the last logged on user with only a device name.
Thanks.
As of now, you can list Registered Devices in Azure AD using Azure Powershell.
Get-AzureADUserRegisteredDevice
-ObjectId <String>
[-All <Boolean>]
[-Top <Int32>]
[<CommonParameters>]
Get-AzureADUserRegisteredDevice -ObjectId "df19e8e6-2ad7-453e-87f5-037f6529ae16"
You can refer to Get-AzureADUserRegisteredDevice and List All Azure AD Registered Devices Using PowerShell