New-MgEntitlementManagementAvailableAccessPackage

Create new navigation property to availableAccessPackages for identityGovernance

Note

To view the beta release of this cmdlet, view New-MgBetaEntitlementManagementAvailableAccessPackage

Syntax

CreateExpanded (Default)

New-MgEntitlementManagementAvailableAccessPackage
    [-ResponseHeadersVariable <string>]
    [-AdditionalProperties <hashtable>]
    [-Description <string>]
    [-DisplayName <string>]
    [-Id <string>]
    [-ResourceRoleScopes <IMicrosoftGraphAccessPackageResourceRoleScope[]>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Create

New-MgEntitlementManagementAvailableAccessPackage

    -BodyParameter <IMicrosoftGraphAvailableAccessPackage>
    [-ResponseHeadersVariable <string>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Parameters

-AdditionalProperties

Additional Parameters

Parameter properties

Type:System.Collections.Hashtable
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BodyParameter

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

Parameter properties

Type:Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAvailableAccessPackage
Supports wildcards:False
DontShow:False

Parameter sets

Create
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Break

Wait for .NET debugger to attach

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Description

The description of the access package.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisplayName

The display name of the access package.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Headers

Optional headers that will be added to the request.

Parameter properties

Type:System.Collections.IDictionary
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-HttpPipelineAppend

SendAsync Pipeline Steps to be appended to the front of the pipeline

Parameter properties

Type:

Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-HttpPipelinePrepend

SendAsync Pipeline Steps to be prepended to the front of the pipeline

Parameter properties

Type:

Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

The unique identifier for an entity. Read-only.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Proxy

The URI for the proxy server to use

Parameter properties

Type:System.Uri
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProxyCredential

Credentials for a proxy server to use for the remote call

Parameter properties

Type:System.Management.Automation.PSCredential
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProxyUseDefaultCredentials

Use the default credentials for the proxy

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceRoleScopes

The resource role scopes associated with this available access package. To construct, see NOTES section for RESOURCEROLESCOPES properties and create a hash table.

Parameter properties

Type:

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessPackageResourceRoleScope[]

Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False
Aliases:RHV

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Runs the command in a mode that only reports what would happen without performing the actions.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAvailableAccessPackage

{{ Fill in the Description }}

System.Collections.IDictionary

{{ Fill in the Description }}

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAvailableAccessPackage

{{ Fill in the Description }}

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 <IMicrosoftGraphAvailableAccessPackage>: availableAccessPackage [(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 access package. [DisplayName <String>]: The display name of the access package. [ResourceRoleScopes <IMicrosoftGraphAccessPackageResourceRoleScope[]>]: The resource role scopes associated with this available access package. [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 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, AzureResources, 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. [ExternalOriginResourceConnector <IMicrosoftGraphExternalOriginResourceConnector>]: externalOriginResourceConnector [(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 [ConnectorType <String>]: connectorType [CreatedBy <String>]: The identifier of the user or application that created the connector. [CreatedDateTime <DateTime?>]: The date and time when the connector was created. [Description <String>]: A description of the connector. [DisplayName <String>]: The display name of the connector. [ModifiedBy <String>]: The identifier of the user or application that last modified the connector. [ModifiedDateTime <DateTime?>]: The date and time when the connector was last modified. [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. [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 of the resource in the origin system. If a Microsoft Entra group, originId is the identifier of the group. Supports $filter (eq). [OriginSystem <String>]: The type of the resource in the origin system, such as SharePointOnline, AadApplication, AadGroup, AzureResources, or CustomDataProvidedResource. Supports $filter (eq). [Resource <IMicrosoftGraphAccessPackageResource>]: accessPackageResource [UploadSessions <IMicrosoftGraphCustomDataProvidedResourceUploadSession[]>]: The upload sessions for uploading external access data to this resource through the Bring Your Own Data (BYOD) flow. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedDateTime <DateTime?>]: DateTime when the upload session was created. Read-only. Supports $orderby. [Data <IMicrosoftGraphCustomDataProvidedResourcePayloadsData>]: data [(Any) <Object>]: This indicates any property can be added to this object. [Files <IMicrosoftGraphCustomDataProvidedResourceFile[]>]: The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. [Id <String>]: The unique identifier for an entity. Read-only. [Name <String>]: Name of the uploaded file, including the file extension. Required. Supports $filter (eq, ne) and $orderby. [Size <Int64?>]: Size of the file in bytes. Read-only. Supports $filter (eq, ne, gt, ge, lt, le) and $orderby. [UploadedDateTime <DateTime?>]: Timestamp when the file was uploaded. Read-only. Supports $filter (eq, ne, gt, ge, lt, le) and $orderby. [IsUploadDone <Boolean?>]: Indicates if all the necessary files have been uploaded to this session. [ReferenceId <String>]: The ID of the context for which data is being uploaded, for example, the Access Review instance ID. Supports $filter (eq). [Stats <IMicrosoftGraphCustomDataProvidedResourceUploadStats>]: customDataProvidedResourceUploadStats [(Any) <Object>]: This indicates any property can be added to this object. [FilesUploaded <Int32?>]: Number of files uploaded in this session. [TotalBytesUploaded <Int64?>]: Total bytes uploaded in this session. [Status <String>]: customDataProvidedResourceUploadStatus [Type <String>]: roleType [Scope <IMicrosoftGraphAccessPackageResourceScope>]: accessPackageResourceScope

RESOURCEROLESCOPES <IMicrosoftGraphAccessPackageResourceRoleScope[]>: The resource role scopes associated with this available access package. [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 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, AzureResources, 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. [ExternalOriginResourceConnector <IMicrosoftGraphExternalOriginResourceConnector>]: externalOriginResourceConnector [(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 [ConnectorType <String>]: connectorType [CreatedBy <String>]: The identifier of the user or application that created the connector. [CreatedDateTime <DateTime?>]: The date and time when the connector was created. [Description <String>]: A description of the connector. [DisplayName <String>]: The display name of the connector. [ModifiedBy <String>]: The identifier of the user or application that last modified the connector. [ModifiedDateTime <DateTime?>]: The date and time when the connector was last modified. [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. [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 of the resource in the origin system. If a Microsoft Entra group, originId is the identifier of the group. Supports $filter (eq). [OriginSystem <String>]: The type of the resource in the origin system, such as SharePointOnline, AadApplication, AadGroup, AzureResources, or CustomDataProvidedResource. Supports $filter (eq). [Resource <IMicrosoftGraphAccessPackageResource>]: accessPackageResource [UploadSessions <IMicrosoftGraphCustomDataProvidedResourceUploadSession[]>]: The upload sessions for uploading external access data to this resource through the Bring Your Own Data (BYOD) flow. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedDateTime <DateTime?>]: DateTime when the upload session was created. Read-only. Supports $orderby. [Data <IMicrosoftGraphCustomDataProvidedResourcePayloadsData>]: data [(Any) <Object>]: This indicates any property can be added to this object. [Files <IMicrosoftGraphCustomDataProvidedResourceFile[]>]: The files uploaded during this upload session. Supports $expand and $expand with nested $filter and $orderby. [Id <String>]: The unique identifier for an entity. Read-only. [Name <String>]: Name of the uploaded file, including the file extension. Required. Supports $filter (eq, ne) and $orderby. [Size <Int64?>]: Size of the file in bytes. Read-only. Supports $filter (eq, ne, gt, ge, lt, le) and $orderby. [UploadedDateTime <DateTime?>]: Timestamp when the file was uploaded. Read-only. Supports $filter (eq, ne, gt, ge, lt, le) and $orderby. [IsUploadDone <Boolean?>]: Indicates if all the necessary files have been uploaded to this session. [ReferenceId <String>]: The ID of the context for which data is being uploaded, for example, the Access Review instance ID. Supports $filter (eq). [Stats <IMicrosoftGraphCustomDataProvidedResourceUploadStats>]: customDataProvidedResourceUploadStats [(Any) <Object>]: This indicates any property can be added to this object. [FilesUploaded <Int32?>]: Number of files uploaded in this session. [TotalBytesUploaded <Int64?>]: Total bytes uploaded in this session. [Status <String>]: customDataProvidedResourceUploadStatus [Type <String>]: roleType [Scope <IMicrosoftGraphAccessPackageResourceScope>]: accessPackageResourceScope