共用方式為


New-MgEntitlementManagementResourceEnvironment

Create new navigation property to resourceEnvironments for identityGovernance

Syntax

New-MgEntitlementManagementResourceEnvironment
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-ConnectionInfo <IMicrosoftGraphConnectionInfo>]
   [-CreatedDateTime <DateTime>]
   [-Description <String>]
   [-DisplayName <String>]
   [-Id <String>]
   [-IsDefaultEnvironment]
   [-ModifiedDateTime <DateTime>]
   [-OriginId <String>]
   [-OriginSystem <String>]
   [-Resources <IMicrosoftGraphAccessPackageResource[]>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgEntitlementManagementResourceEnvironment
   -BodyParameter <IMicrosoftGraphAccessPackageResourceEnvironment>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create new navigation property to resourceEnvironments for identityGovernance

Parameters

-AdditionalProperties

Additional Parameters

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

-BodyParameter

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

Type:IMicrosoftGraphAccessPackageResourceEnvironment
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

-ConnectionInfo

connectionInfo To construct, see NOTES section for CONNECTIONINFO properties and create a hash table.

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

-CreatedDateTime

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.

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

-Description

The description of this object.

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

-DisplayName

The display name of this object.

Type:String
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

-IsDefaultEnvironment

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.

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

-ModifiedDateTime

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.

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

-OriginId

The unique identifier of this environment in the origin system.

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

-OriginSystem

The type of the resource in the origin system, that is, SharePointOnline. Requires $filter (eq).

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

-Resources

Read-only. Required. To construct, see NOTES section for RESOURCES properties and create a hash table.

Type:IMicrosoftGraphAccessPackageResource[]
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

-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.IMicrosoftGraphAccessPackageResourceEnvironment

System.Collections.IDictionary

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessPackageResourceEnvironment

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 <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.
    • [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
    • [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. For 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 is 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.
      • [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

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.

RESOURCES <IMicrosoftGraphAccessPackageResource- []>: Read-only. Required.

  • [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. For 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 is 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.
    • [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

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