Skip to main content

Identityhistoryresponse

Properties

NameTypeDescriptionNotes
IdStringthe identity ID[optional]
DisplayNameStringthe display name of the identity[optional]
SnapshotStringthe date when the identity record was created[optional]
DeletedDateStringthe date when the identity was deleted[optional]
AccessItemCountmap[string]Int32A map containing the count of each access item[optional]
Attributes[map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4A map containing the identity attributes[optional]

Examples

  • Prepare the resource
$Identityhistoryresponse = Initialize-Identityhistoryresponse  -Id bc693f07e7b645539626c25954c58554 `
-DisplayName Adam Zampa `
-Snapshot 2007-03-01T13:00:00.000Z `
-DeletedDate 2007-03-01T13:00:00.000Z `
-AccessItemCount {"app":0,"role":2,"entitlement":4,"accessProfile":3,"account":1} `
-Attributes {"jobTitle":"HR Manager","location":"NYC","firstname":"Adam","lastname":"Zampa","department":"HR"}
  • Convert the resource to JSON
$Identityhistoryresponse | ConvertTo-JSON

[Back to top]