Forum Discussion
Patrick Rote
Nov 23, 2020Iron Contributor
How to get createddatetime,Assignedlicences using Get-AzureADUser from AzureAD
Hi All, I would like to get the following properties -Createddatetime - time users was created -Assigned Licences I tried the following below Get-AzureADUser -All $true | Where-Object {$_.m...
farismalaeb
Nov 23, 2020Steel Contributor
Hi,
based on my try I notice that the Get-AzureADUser dont have the CreateDateTime property.
also for the licensing you will need to use Get-AzureADUserLicenseDetail | select Sku*,ServicePlans
I am using Get-Msonline and its returning all the result you are looking for.
So I can get the WhenCreate property and Licenses. I guess its better to use the MSOnline module.
Both are connecting to the same AD.