Skip to main content

AccessProfile

Properties​

NameTypeDescriptionNotes
IdStringThe id of the Access Profile[optional]
NameStringName of the Access Profile[optional]
DescriptionStringInformation about the Access Profile[optional]
PrivilegedBooleanDeprecated. Replaced by effectivePrivilege (HIGH, MEDIUM, LOW, NONE). Indicates if the access profile contains any entitlements that are privileged. Retained for backward compatibility.[optional] [default to $false]
CloudGovernedBooleanTrue if the access profile is cloud governed.[optional] [default to $false]
EndDateSystem.DateTimeThe date at which a user's access expires[optional]
OwnerIdentityReference[optional]
SourceNameStringThe name of the source for which this entitlement belongs[optional]
SourceTypeStringThe type of the source for which the entitlement belongs[optional]
SourceIdStringThe ID of the source for which the entitlement belongs[optional]
CreatedSystem.DateTimeDate the Access Profile was created.[optional]
ModifiedSystem.DateTimeDate the Access Profile was last modified.[optional]
Entitlements[]EntitlementReferenceA list of entitlement references associated to this access profile.[optional]

Examples​

  • Prepare the resource
$AccessProfile = Initialize-AccessProfile -Id 2c91808a7190d06e01719938fcd20792 `
-Name Employee-database-read-write `
-Description Collection of entitlements to read/write the employee database `
-Privileged false `
-CloudGoverned false `
-EndDate 2021-12-25T00:00Z `
-Owner null `
-SourceName ODS-AD-Source `
-SourceType Active Directory - Direct `
-SourceId 78ca6be511cb41fbb86dba2fcca7780c `
-Created 2021-01-01T22:32:58.104Z `
-Modified 2021-02-01T22:32:58.104Z `
-Entitlements null
  • Convert the resource to JSON
$AccessProfile | ConvertTo-JSON

[Back to top]