Description
It seems to not be possible to retrieve the birthday property using the m365 aad user list
Steps to reproduce
$requiredProfileProperties = "id,displayName,userPrincipalName,birthday,externalUserState"
$users = m365 aad user list --properties $requiredProfileProperties -o json
Results in an error Error: This operation target is not yet supported.
Expected result
Documentation to be updated that not all properties are yet supported, the m365 aad user get allows you to retrieve that property. Currently the docs point to: https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties but the docs at https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http state:
Certain properties cannot be returned within a user collection. The following properties are only supported when retrieving an single user: aboutMe, birthday, hireDate, interests, mySite, pastProjects, preferredName, responsibilities, schools, skills, mailboxSettings.
Actual result
An error Error: This operation target is not yet supported.
Environment
Windows 10, CLI version 3.9
Description
It seems to not be possible to retrieve the birthday property using the
m365 aad user listSteps to reproduce
Results in an error
Error: This operation target is not yet supported.Expected result
Documentation to be updated that not all properties are yet supported, the
m365 aad user getallows you to retrieve that property. Currently the docs point to: https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties but the docs at https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http state:Actual result
An error
Error: This operation target is not yet supported.Environment
Windows 10, CLI version 3.9