New-MgComplianceEdiscoveryCaseLegalHoldUserSource

Data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site.

Syntax

New-MgComplianceEdiscoveryCaseLegalHoldUserSource
   -CaseId <String>
   -LegalHoldId <String>
   [-AdditionalProperties <Hashtable>]
   [-CreatedBy <IMicrosoftGraphIdentitySet>]
   [-CreatedDateTime <DateTime>]
   [-DisplayName <String>]
   [-Email <String>]
   [-Id <String>]
   [-IncludedSources <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgComplianceEdiscoveryCaseLegalHoldUserSource
   -CaseId <String>
   -LegalHoldId <String>
   -BodyParameter <IMicrosoftGraphEdiscoveryUserSource>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgComplianceEdiscoveryCaseLegalHoldUserSource
   -InputObject <IComplianceIdentity>
   [-AdditionalProperties <Hashtable>]
   [-CreatedBy <IMicrosoftGraphIdentitySet>]
   [-CreatedDateTime <DateTime>]
   [-DisplayName <String>]
   [-Email <String>]
   [-Id <String>]
   [-IncludedSources <String>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgComplianceEdiscoveryCaseLegalHoldUserSource
   -InputObject <IComplianceIdentity>
   -BodyParameter <IMicrosoftGraphEdiscoveryUserSource>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Data source entity for a the legal hold. This is the container for a mailbox and OneDrive for Business site.

Parameters

-AdditionalProperties

Additional Parameters

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

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

Type:IMicrosoftGraphEdiscoveryUserSource
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-CaseId

key: id of case

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

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

Type:IMicrosoftGraphIdentitySet
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CreatedDateTime

The date and time the dataSource was created.

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

The display name of the dataSource. This will be the name of the SharePoint site.

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

Email address of the user's mailbox.

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

Read-only.

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

sourceType

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:IComplianceIdentity
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-LegalHoldId

key: id of legalHold

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

Inputs

Microsoft.Graph.PowerShell.Models.IComplianceIdentity

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphEdiscoveryUserSource

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphEdiscoveryUserSource

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.

BODYPARAMETER : userSource

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [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 identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may 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.
    • [Device <IMicrosoftGraphIdentity>]: identity
    • [User <IMicrosoftGraphIdentity>]: identity
  • [CreatedDateTime <DateTime?>]: The date and time the dataSource was created.
  • [DisplayName <String>]: The display name of the dataSource. This will be the name of the SharePoint site.
  • [Id <String>]: Read-only.
  • [Email <String>]: Email address of the user's mailbox.
  • [IncludedSources <String>]: sourceType

CREATEDBY : 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 identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may 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.
  • [Device <IMicrosoftGraphIdentity>]: identity
  • [User <IMicrosoftGraphIdentity>]: identity

INPUTOBJECT : Identity Parameter

  • [CaseId <String>]: key: id of case
  • [CaseOperationId <String>]: key: id of caseOperation
  • [CustodianId <String>]: key: id of custodian
  • [DataSourceId <String>]: key: id of dataSource
  • [LegalHoldId <String>]: key: id of legalHold
  • [NoncustodialDataSourceId <String>]: key: id of noncustodialDataSource
  • [ReviewSetId <String>]: key: id of reviewSet
  • [ReviewSetQueryId <String>]: key: id of reviewSetQuery
  • [SiteSourceId <String>]: key: id of siteSource
  • [SourceCollectionId <String>]: key: id of sourceCollection
  • [TagId <String>]: key: id of tag
  • [UnifiedGroupSourceId <String>]: key: id of unifiedGroupSource
  • [UserSourceId <String>]: key: id of userSource