Share via


New-MgEntitlementManagementResourceRoleScope

Create new navigation property to resourceRoleScopes for identityGovernance

Syntax

New-MgEntitlementManagementResourceRoleScope
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-CreatedDateTime <DateTime>]
   [-Id <String>]
   [-Role <IMicrosoftGraphAccessPackageResourceRole>]
   [-Scope <IMicrosoftGraphAccessPackageResourceScope>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgEntitlementManagementResourceRoleScope
   -BodyParameter <IMicrosoftGraphAccessPackageResourceRoleScope>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create new navigation property to resourceRoleScopes for identityGovernance

Parameters

-AdditionalProperties

Additional Parameters

Type:Hashtable
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-BodyParameter

accessPackageResourceRoleScope To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Type:IMicrosoftGraphAccessPackageResourceRoleScope
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CreatedDateTime

The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z

Type:DateTime
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Headers

Optional headers that will be added to the request.

Type:IDictionary
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Id

The unique identifier for an entity. Read-only.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Type:String
Aliases:RHV
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Role

accessPackageResourceRole To construct, see NOTES section for ROLE properties and create a hash table.

Type:IMicrosoftGraphAccessPackageResourceRole
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Scope

accessPackageResourceScope To construct, see NOTES section for SCOPE properties and create a hash table.

Type:IMicrosoftGraphAccessPackageResourceScope
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessPackageResourceRoleScope

System.Collections.IDictionary

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessPackageResourceRoleScope

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

BODYPARAMETER <IMicrosoftGraphAccessPackageResourceRoleScope>: accessPackageResourceRoleScope

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [CreatedDateTime <DateTime?>]: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
  • [Role <IMicrosoftGraphAccessPackageResourceRole>]: accessPackageResourceRole
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Description <String>]: A description for the resource role.
    • [DisplayName <String>]: The display name of the resource role such as the role defined by the application.
    • [OriginId <String>]: The unique identifier of the resource role in the origin system. For a SharePoint Online site, the originId will be the sequence number of the role in the site.
    • [OriginSystem <String>]: The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup.
    • [Resource <IMicrosoftGraphAccessPackageResource>]: accessPackageResource
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [Attributes <IMicrosoftGraphAccessPackageResourceAttribute- []>]: Contains information about the attributes to be collected from the requestor and sent to the resource application.
        • [Destination <IMicrosoftGraphAccessPackageResourceAttributeDestination>]: accessPackageResourceAttributeDestination
          • [(Any) <Object>]: This indicates any property can be added to this object.
        • [IsEditable <Boolean?>]:
        • [IsPersistedOnAssignmentRemoval <Boolean?>]:
        • [Name <String>]: The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension2b676109c7c74ae2b41549205f1947edpersonalTitle.
        • [Source <IMicrosoftGraphAccessPackageResourceAttributeSource>]: accessPackageResourceAttributeSource
          • [(Any) <Object>]: This indicates any property can be added to this object.
      • [CreatedDateTime <DateTime?>]: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
      • [Description <String>]: A description for the resource.
      • [DisplayName <String>]: The display name of the resource, such as the application name, group name or site name.
      • [Environment <IMicrosoftGraphAccessPackageResourceEnvironment>]: accessPackageResourceEnvironment
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [Id <String>]: The unique identifier for an entity. Read-only.
        • [ConnectionInfo <IMicrosoftGraphConnectionInfo>]: connectionInfo
          • [(Any) <Object>]: This indicates any property can be added to this object.
          • [Url <String>]: The endpoint that is used by Entitlement Management to communicate with the access package resource.
        • [CreatedDateTime <DateTime?>]: The date and time that this object was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
        • [Description <String>]: The description of this object.
        • [DisplayName <String>]: The display name of this object.
        • [IsDefaultEnvironment <Boolean?>]: Determines whether this is default environment or not. It is set to true for all static origin systems, such as Microsoft Entra groups and Microsoft Entra Applications.
        • [ModifiedDateTime <DateTime?>]: The date and time that this object was last modified. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
        • [OriginId <String>]: The unique identifier of this environment in the origin system.
        • [OriginSystem <String>]: The type of the resource in the origin system, that is, SharePointOnline. Requires $filter (eq).
        • [Resources <IMicrosoftGraphAccessPackageResource- []>]: Read-only. Required.
      • [ModifiedDateTime <DateTime?>]: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
      • [OriginId <String>]: The unique identifier of the resource in the origin system. In the case of a Microsoft Entra group, this is the identifier of the group.
      • [OriginSystem <String>]: The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup.
      • [Roles <IMicrosoftGraphAccessPackageResourceRole- []>]: Read-only. Nullable. Supports $expand.
      • [Scopes <IMicrosoftGraphAccessPackageResourceScope- []>]: Read-only. Nullable. Supports $expand.
        • [Id <String>]: The unique identifier for an entity. Read-only.
        • [Description <String>]: The description of the scope.
        • [DisplayName <String>]: The display name of the scope.
        • [IsRootScope <Boolean?>]: True if the scopes are arranged in a hierarchy and this is the top or root scope of the resource.
        • [OriginId <String>]: The unique identifier for the scope in the resource as defined in the origin system.
        • [OriginSystem <String>]: The origin system for the scope.
        • [Resource <IMicrosoftGraphAccessPackageResource>]: accessPackageResource
  • [Scope <IMicrosoftGraphAccessPackageResourceScope>]: accessPackageResourceScope

ROLE <IMicrosoftGraphAccessPackageResourceRole>: accessPackageResourceRole

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Description <String>]: A description for the resource role.
  • [DisplayName <String>]: The display name of the resource role such as the role defined by the application.
  • [OriginId <String>]: The unique identifier of the resource role in the origin system. For a SharePoint Online site, the originId will be the sequence number of the role in the site.
  • [OriginSystem <String>]: The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup.
  • [Resource <IMicrosoftGraphAccessPackageResource>]: accessPackageResource
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Attributes <IMicrosoftGraphAccessPackageResourceAttribute- []>]: Contains information about the attributes to be collected from the requestor and sent to the resource application.
      • [Destination <IMicrosoftGraphAccessPackageResourceAttributeDestination>]: accessPackageResourceAttributeDestination
        • [(Any) <Object>]: This indicates any property can be added to this object.
      • [IsEditable <Boolean?>]:
      • [IsPersistedOnAssignmentRemoval <Boolean?>]:
      • [Name <String>]: The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension2b676109c7c74ae2b41549205f1947edpersonalTitle.
      • [Source <IMicrosoftGraphAccessPackageResourceAttributeSource>]: accessPackageResourceAttributeSource
        • [(Any) <Object>]: This indicates any property can be added to this object.
    • [CreatedDateTime <DateTime?>]: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
    • [Description <String>]: A description for the resource.
    • [DisplayName <String>]: The display name of the resource, such as the application name, group name or site name.
    • [Environment <IMicrosoftGraphAccessPackageResourceEnvironment>]: accessPackageResourceEnvironment
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [ConnectionInfo <IMicrosoftGraphConnectionInfo>]: connectionInfo
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [Url <String>]: The endpoint that is used by Entitlement Management to communicate with the access package resource.
      • [CreatedDateTime <DateTime?>]: The date and time that this object was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      • [Description <String>]: The description of this object.
      • [DisplayName <String>]: The display name of this object.
      • [IsDefaultEnvironment <Boolean?>]: Determines whether this is default environment or not. It is set to true for all static origin systems, such as Microsoft Entra groups and Microsoft Entra Applications.
      • [ModifiedDateTime <DateTime?>]: The date and time that this object was last modified. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      • [OriginId <String>]: The unique identifier of this environment in the origin system.
      • [OriginSystem <String>]: The type of the resource in the origin system, that is, SharePointOnline. Requires $filter (eq).
      • [Resources <IMicrosoftGraphAccessPackageResource- []>]: Read-only. Required.
    • [ModifiedDateTime <DateTime?>]: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
    • [OriginId <String>]: The unique identifier of the resource in the origin system. In the case of a Microsoft Entra group, this is the identifier of the group.
    • [OriginSystem <String>]: The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup.
    • [Roles <IMicrosoftGraphAccessPackageResourceRole- []>]: Read-only. Nullable. Supports $expand.
    • [Scopes <IMicrosoftGraphAccessPackageResourceScope- []>]: Read-only. Nullable. Supports $expand.
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [Description <String>]: The description of the scope.
      • [DisplayName <String>]: The display name of the scope.
      • [IsRootScope <Boolean?>]: True if the scopes are arranged in a hierarchy and this is the top or root scope of the resource.
      • [OriginId <String>]: The unique identifier for the scope in the resource as defined in the origin system.
      • [OriginSystem <String>]: The origin system for the scope.
      • [Resource <IMicrosoftGraphAccessPackageResource>]: accessPackageResource

SCOPE <IMicrosoftGraphAccessPackageResourceScope>: accessPackageResourceScope

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [Description <String>]: The description of the scope.
  • [DisplayName <String>]: The display name of the scope.
  • [IsRootScope <Boolean?>]: True if the scopes are arranged in a hierarchy and this is the top or root scope of the resource.
  • [OriginId <String>]: The unique identifier for the scope in the resource as defined in the origin system.
  • [OriginSystem <String>]: The origin system for the scope.
  • [Resource <IMicrosoftGraphAccessPackageResource>]: accessPackageResource
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [Attributes <IMicrosoftGraphAccessPackageResourceAttribute- []>]: Contains information about the attributes to be collected from the requestor and sent to the resource application.
      • [Destination <IMicrosoftGraphAccessPackageResourceAttributeDestination>]: accessPackageResourceAttributeDestination
        • [(Any) <Object>]: This indicates any property can be added to this object.
      • [IsEditable <Boolean?>]:
      • [IsPersistedOnAssignmentRemoval <Boolean?>]:
      • [Name <String>]: The name of the attribute in the end system. If the destination is accessPackageUserDirectoryAttributeStore, then a user property such as jobTitle or a directory schema extension for the user object type, such as extension2b676109c7c74ae2b41549205f1947edpersonalTitle.
      • [Source <IMicrosoftGraphAccessPackageResourceAttributeSource>]: accessPackageResourceAttributeSource
        • [(Any) <Object>]: This indicates any property can be added to this object.
    • [CreatedDateTime <DateTime?>]: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
    • [Description <String>]: A description for the resource.
    • [DisplayName <String>]: The display name of the resource, such as the application name, group name or site name.
    • [Environment <IMicrosoftGraphAccessPackageResourceEnvironment>]: accessPackageResourceEnvironment
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [ConnectionInfo <IMicrosoftGraphConnectionInfo>]: connectionInfo
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [Url <String>]: The endpoint that is used by Entitlement Management to communicate with the access package resource.
      • [CreatedDateTime <DateTime?>]: The date and time that this object was created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      • [Description <String>]: The description of this object.
      • [DisplayName <String>]: The display name of this object.
      • [IsDefaultEnvironment <Boolean?>]: Determines whether this is default environment or not. It is set to true for all static origin systems, such as Microsoft Entra groups and Microsoft Entra Applications.
      • [ModifiedDateTime <DateTime?>]: The date and time that this object was last modified. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
      • [OriginId <String>]: The unique identifier of this environment in the origin system.
      • [OriginSystem <String>]: The type of the resource in the origin system, that is, SharePointOnline. Requires $filter (eq).
      • [Resources <IMicrosoftGraphAccessPackageResource- []>]: Read-only. Required.
    • [ModifiedDateTime <DateTime?>]: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
    • [OriginId <String>]: The unique identifier of the resource in the origin system. In the case of a Microsoft Entra group, this is the identifier of the group.
    • [OriginSystem <String>]: The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup.
    • [Roles <IMicrosoftGraphAccessPackageResourceRole- []>]: Read-only. Nullable. Supports $expand.
      • [Id <String>]: The unique identifier for an entity. Read-only.
      • [Description <String>]: A description for the resource role.
      • [DisplayName <String>]: The display name of the resource role such as the role defined by the application.
      • [OriginId <String>]: The unique identifier of the resource role in the origin system. For a SharePoint Online site, the originId will be the sequence number of the role in the site.
      • [OriginSystem <String>]: The type of the resource in the origin system, such as SharePointOnline, AadApplication or AadGroup.
      • [Resource <IMicrosoftGraphAccessPackageResource>]: accessPackageResource
    • [Scopes <IMicrosoftGraphAccessPackageResourceScope- []>]: Read-only. Nullable. Supports $expand.

https://learn.microsoft.com/powershell/module/microsoft.graph.identity.governance/new-mgentitlementmanagementresourcerolescope