Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag

Apply tags to documents that match the specified reviewSetQuery.

Syntax

Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag
   -CaseId <String>
   -ReviewSetId <String>
   -ReviewSetQueryId <String>
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-TagsToAdd <IMicrosoftGraphEdiscoveryTag[]>]
   [-TagsToRemove <IMicrosoftGraphEdiscoveryTag[]>]
   [-Headers <IDictionary>]
   [-PassThru]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag
   -CaseId <String>
   -ReviewSetId <String>
   -ReviewSetQueryId <String>
   -BodyParameter <IPathsWh2810ComplianceEdiscoveryCasesCaseIdReviewsetsReviewsetIdQueriesReviewsetqueryIdMicrosoftGraphEdiscoveryApplytagsPostRequestbodyContentApplicationJsonSchema>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-PassThru]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag
   -InputObject <IComplianceIdentity>
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-TagsToAdd <IMicrosoftGraphEdiscoveryTag[]>]
   [-TagsToRemove <IMicrosoftGraphEdiscoveryTag[]>]
   [-Headers <IDictionary>]
   [-PassThru]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag
   -InputObject <IComplianceIdentity>
   -BodyParameter <IPathsWh2810ComplianceEdiscoveryCasesCaseIdReviewsetsReviewsetIdQueriesReviewsetqueryIdMicrosoftGraphEdiscoveryApplytagsPostRequestbodyContentApplicationJsonSchema>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-PassThru]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Apply tags to documents that match the specified reviewSetQuery.

Permissions

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) eDiscovery.Read.All eDiscovery.ReadWrite.All
Delegated (personal Microsoft account) Not supported. Not supported.
Application Not supported. Not supported.

Examples

Example 1: Code snippet

Import-Module Microsoft.Graph.Beta.Compliance

$params = @{
	tagsToAdd = @(
		@{
			id = "b4798d14-748d-468e-a1ec-96a2b1d49677"
		}
	)
}

Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag -CaseId $caseId -ReviewSetId $reviewSetId -ReviewSetQueryId $reviewSetQueryId -BodyParameter $params

This example shows how to use the Add-MgBetaComplianceEdiscoveryCaseReviewSetQueryTag Cmdlet.

Parameters

-AdditionalProperties

Additional Parameters

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

-BodyParameter

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

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

-CaseId

The unique identifier of case

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
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

-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

-InputObject

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

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

-PassThru

Returns true when the command succeeds

Type:SwitchParameter
Position:Named
Default value:False
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

-ReviewSetId

The unique identifier of reviewSet

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

-ReviewSetQueryId

The unique identifier of reviewSetQuery

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

-TagsToAdd

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

Type:IMicrosoftGraphEdiscoveryTag[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TagsToRemove

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

Type:IMicrosoftGraphEdiscoveryTag[]
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.Beta.PowerShell.Models.IComplianceIdentity

Microsoft.Graph.Beta.PowerShell.Models.IPathsWh2810ComplianceEdiscoveryCasesCaseIdReviewsetsReviewsetIdQueriesReviewsetqueryIdMicrosoftGraphEdiscoveryApplytagsPostRequestbodyContentApplicationJsonSchema

System.Collections.IDictionary

Outputs

System.Boolean

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 <IPathsWh2810ComplianceEdiscoveryCasesCaseIdReviewsetsReviewsetIdQueriesReviewsetqueryIdMicrosoftGraphEdiscoveryApplytagsPostRequestbodyContentApplicationJsonSchema>: .

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [TagsToAdd <IMicrosoftGraphEdiscoveryTag- []>]:
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [ChildSelectability <String>]: childSelectability
    • [ChildTags <IMicrosoftGraphEdiscoveryTag- []>]: Returns the tags that are a child of a tag.
    • [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Application <IMicrosoftGraphIdentity>]: identity
        • [(Any) <Object>]: This indicates any property can be added to this object.
        • [DisplayName <String>]: The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
        • [Id <String>]: Unique identifier for the identity. When the unique identifier is unavailable, the displayName property is provided for the identity, but the id property isn't included in the response.
      • [Device <IMicrosoftGraphIdentity>]: identity
      • [User <IMicrosoftGraphIdentity>]: identity
    • [Description <String>]: The description for the tag.
    • [DisplayName <String>]: Display name of the tag.
    • [LastModifiedDateTime <DateTime?>]: The date and time the tag was last modified.
    • [Parent <IMicrosoftGraphEdiscoveryTag>]: tag
  • [TagsToRemove <IMicrosoftGraphEdiscoveryTag- []>]:

INPUTOBJECT <IComplianceIdentity>: Identity Parameter

  • [AuthoredNoteId <String>]: The unique identifier of authoredNote
  • [CaseId <String>]: The unique identifier of case
  • [CaseOperationId <String>]: The unique identifier of caseOperation
  • [CustodianId <String>]: The unique identifier of custodian
  • [DataSourceId <String>]: The unique identifier of dataSource
  • [LegalHoldId <String>]: The unique identifier of legalHold
  • [NoncustodialDataSourceId <String>]: The unique identifier of noncustodialDataSource
  • [ReviewSetId <String>]: The unique identifier of reviewSet
  • [ReviewSetQueryId <String>]: The unique identifier of reviewSetQuery
  • [SiteSourceId <String>]: The unique identifier of siteSource
  • [SourceCollectionId <String>]: The unique identifier of sourceCollection
  • [SubjectRightsRequestId <String>]: The unique identifier of subjectRightsRequest
  • [TagId <String>]: The unique identifier of tag
  • [TagId1 <String>]: The unique identifier of tag
  • [UnifiedGroupSourceId <String>]: The unique identifier of unifiedGroupSource
  • [UserId <String>]: The unique identifier of user
  • [UserSourceId <String>]: The unique identifier of userSource

TAGSTOADD <IMicrosoftGraphEdiscoveryTag- []>: .

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [ChildSelectability <String>]: childSelectability
  • [ChildTags <IMicrosoftGraphEdiscoveryTag- []>]: Returns the tags that are a child of a tag.
  • [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Application <IMicrosoftGraphIdentity>]: identity
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [DisplayName <String>]: The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      • [Id <String>]: Unique identifier for the identity. When the unique identifier is unavailable, the displayName property is provided for the identity, but the id property isn't included in the response.
    • [Device <IMicrosoftGraphIdentity>]: identity
    • [User <IMicrosoftGraphIdentity>]: identity
  • [Description <String>]: The description for the tag.
  • [DisplayName <String>]: Display name of the tag.
  • [LastModifiedDateTime <DateTime?>]: The date and time the tag was last modified.
  • [Parent <IMicrosoftGraphEdiscoveryTag>]: tag

TAGSTOREMOVE <IMicrosoftGraphEdiscoveryTag- []>: .

  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [ChildSelectability <String>]: childSelectability
  • [ChildTags <IMicrosoftGraphEdiscoveryTag- []>]: Returns the tags that are a child of a tag.
  • [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Application <IMicrosoftGraphIdentity>]: identity
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [DisplayName <String>]: The display name of the identity. The display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
      • [Id <String>]: Unique identifier for the identity. When the unique identifier is unavailable, the displayName property is provided for the identity, but the id property isn't included in the response.
    • [Device <IMicrosoftGraphIdentity>]: identity
    • [User <IMicrosoftGraphIdentity>]: identity
  • [Description <String>]: The description for the tag.
  • [DisplayName <String>]: Display name of the tag.
  • [LastModifiedDateTime <DateTime?>]: The date and time the tag was last modified.
  • [Parent <IMicrosoftGraphEdiscoveryTag>]: tag