CmdID / PowerShell / Cmdlets / New
New-MgEntitlementManagementAssignmentPolicy
Create a new accessPackageAssignmentPolicy object in Microsoft Entra entitlement management. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 29 parameters Its page in the reference
Parameters
Show its 29 parameters
-AccessPackageaccessPackage To construct, see NOTES section for ACCESSPACKAGE properties and create a hash table.-AdditionalPropertiesAdditional Parameters-AllowedTargetScopeallowedTargetScope-AutomaticRequestSettingsaccessPackageAutomaticRequestSettings To construct, see NOTES section for AUTOMATICREQUESTSETTINGS properties and create a hash table.-BodyParameteraccessPackageAssignmentPolicy To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-CatalogaccessPackageCatalog To construct, see NOTES section for CATALOG properties and create a hash table.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CreatedDateTimeThe Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.-CustomExtensionStageSettingsThe collection of stages when to execute one or more custom access package workflow extensions.-DescriptionThe description of the policy.-DisplayNameThe display name of the policy.-ExpirationexpirationPattern To construct, see NOTES section for EXPIRATION properties and create a hash table.-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-IdThe unique identifier for an entity.-ModifiedDateTimeThe Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.-NotificationSettingsaccessPackageNotificationSettings To construct, see NOTES section for NOTIFICATIONSETTINGS properties and create a hash table.-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-QuestionsQuestions that are posed to the requestor.-RequestApprovalSettingsaccessPackageAssignmentApprovalSettings To construct, see NOTES section for REQUESTAPPROVALSETTINGS properties and create a hash table.-RequestorSettingsaccessPackageAssignmentRequestorSettings To construct, see NOTES section for REQUESTORSETTINGS properties and create a hash table.-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-ReviewSettingsaccessPackageAssignmentReviewSettings To construct, see NOTES section for REVIEWSETTINGS properties and create a hash table.-SpecificAllowedTargetsThe principals that can be assigned access from an access package through this policy.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.