Get-MgAccessReview

Get entity from accessReviews by key

Syntax

Get-MgAccessReview
   [-ExpandProperty <String[]>]
   [-Property <String[]>]
   [-Filter <String>]
   [-Search <String>]
   [-Skip <Int32>]
   [-Sort <String[]>]
   [-Top <Int32>]
   [-PageSize <Int32>]
   [-All]
   [-CountVariable <String>]
   [<CommonParameters>]
Get-MgAccessReview
   -AccessReviewId <String>
   [-ExpandProperty <String[]>]
   [-Property <String[]>]
   [<CommonParameters>]
Get-MgAccessReview
   -InputObject <IIdentityGovernanceIdentity>
   [-ExpandProperty <String[]>]
   [-Property <String[]>]
   [<CommonParameters>]

Description

Get entity from accessReviews by key

Parameters

-AccessReviewId

key: id of accessReview

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

List all pages.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CountVariable

Specifies a count of the total number of items in a collection. By default, this variable will be set in the global scope.

Type:String
Aliases:CV
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ExpandProperty

Expand related entities

Type:String[]
Aliases:Expand
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Filter

Filter items by property values

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

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:IIdentityGovernanceIdentity
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-PageSize

Sets the page size of results.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Property

Select properties to be returned

Type:String[]
Aliases:Select
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Search

Search items by search phrases

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

Skip the first n items

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Sort

Order items by property values

Type:String[]
Aliases:OrderBy
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Top

Show only the first n items

Type:Int32
Aliases:Limit
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.Graph.PowerShell.Models.IIdentityGovernanceIdentity

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview

Notes

ALIASES

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.

INPUTOBJECT : Identity Parameter

  • [AccessPackageAssignmentId <String>]: key: id of accessPackageAssignment
  • [AccessPackageAssignmentPolicyId <String>]: key: id of accessPackageAssignmentPolicy
  • [AccessPackageAssignmentRequestId <String>]: key: id of accessPackageAssignmentRequest
  • [AccessPackageAssignmentResourceRoleId <String>]: key: id of accessPackageAssignmentResourceRole
  • [AccessPackageCatalogId <String>]: key: id of accessPackageCatalog
  • [AccessPackageId <String>]: key: id of accessPackage
  • [AccessPackageResourceEnvironmentId <String>]: key: id of accessPackageResourceEnvironment
  • [AccessPackageResourceId <String>]: key: id of accessPackageResource
  • [AccessPackageResourceRequestId <String>]: key: id of accessPackageResourceRequest
  • [AccessPackageResourceRoleId <String>]: key: id of accessPackageResourceRole
  • [AccessPackageResourceRoleScopeId <String>]: key: id of accessPackageResourceRoleScope
  • [AccessPackageResourceScopeId <String>]: key: id of accessPackageResourceScope
  • [AccessReviewDecisionId <String>]: key: id of accessReviewDecision
  • [AccessReviewHistoryDefinitionId <String>]: key: id of accessReviewHistoryDefinition
  • [AccessReviewId <String>]: key: id of accessReview
  • [AccessReviewId1 <String>]: key: id of accessReview
  • [AccessReviewInstanceDecisionItemId <String>]: key: id of accessReviewInstanceDecisionItem
  • [AccessReviewInstanceId <String>]: key: id of accessReviewInstance
  • [AccessReviewReviewerId <String>]: key: id of accessReviewReviewer
  • [AccessReviewScheduleDefinitionId <String>]: key: id of accessReviewScheduleDefinition
  • [AgreementAcceptanceId <String>]: key: id of agreementAcceptance
  • [AgreementFileLocalizationId <String>]: key: id of agreementFileLocalization
  • [AgreementFileVersionId <String>]: key: id of agreementFileVersion
  • [AgreementId <String>]: key: id of agreement
  • [AppConsentRequestId <String>]: key: id of appConsentRequest
  • [ApprovalId <String>]: key: id of approval
  • [ApprovalStageId <String>]: key: id of approvalStage
  • [ApprovalStepId <String>]: key: id of approvalStep
  • [BusinessFlowTemplateId <String>]: key: id of businessFlowTemplate
  • [ConnectedOrganizationId <String>]: key: id of connectedOrganization
  • [DirectoryObjectId <String>]: key: id of directoryObject
  • [GovernanceResourceId <String>]: key: id of governanceResource
  • [GovernanceRoleAssignmentId <String>]: key: id of governanceRoleAssignment
  • [GovernanceRoleAssignmentRequestId <String>]: key: id of governanceRoleAssignmentRequest
  • [GovernanceRoleDefinitionId <String>]: key: id of governanceRoleDefinition
  • [GovernanceRoleSettingId <String>]: key: id of governanceRoleSetting
  • [On <String>]: Usage: on={on}
  • [PrivilegedAccessId <String>]: key: id of privilegedAccess
  • [PrivilegedApprovalId <String>]: key: id of privilegedApproval
  • [PrivilegedOperationEventId <String>]: key: id of privilegedOperationEvent
  • [PrivilegedRoleAssignmentId <String>]: key: id of privilegedRoleAssignment
  • [PrivilegedRoleAssignmentRequestId <String>]: key: id of privilegedRoleAssignmentRequest
  • [PrivilegedRoleId <String>]: key: id of privilegedRole
  • [ProgramControlId <String>]: key: id of programControl
  • [ProgramControlTypeId <String>]: key: id of programControlType
  • [ProgramId <String>]: key: id of program
  • [UserConsentRequestId <String>]: key: id of userConsentRequest
  • [UserId <String>]: key: id of user