-
Notifications
You must be signed in to change notification settings - Fork 211
Open
Description
Describe the bug
When running the following command, only 4 fields appear to be populated with data:
- DisplayName
- Id
- UserPrincipalName
Get-MgDirectoryDeletedItem -All
When I try to directly select the DeletedDateTime property, it is blank.
Get-MgDirectoryDeletedItem -All | Select-Object DisplayName, Id, Mail, DeletedDateTime
If it's not possible to populate all the object fields, could you at least populate this critical value?
See the last comments on this closed issue for another user requesting the same.
Expected behavior
DeletedDateTime property should be populated.
How to reproduce
- Execute
Get-MgDirectoryDeletedItem | Get-Member
, confirm that the DeletedDateTime property exists - Execute
Get-MgDirectoryDeletedItem -All | Select-Object DisplayName, Id, Mail, DeletedDateTime
- Confirm that the DeletedDateTime field is empty
SDK Version
2.26.1
Latest version known to work for scenario above?
No response
Known Workarounds
Invoke-GraphRequest
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_