New-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource

Create a new noncustodialDataSource object.

Syntax

New-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource
   -CaseId <String>
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-ApplyHoldToSource]
   [-CreatedDateTime <DateTime>]
   [-DataSource <IMicrosoftGraphEdiscoveryDataSource>]
   [-DisplayName <String>]
   [-HoldStatus <String>]
   [-Id <String>]
   [-LastIndexOperation <Hashtable>]
   [-LastModifiedDateTime <DateTime>]
   [-ReleasedDateTime <DateTime>]
   [-Status <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource
   -CaseId <String>
   -BodyParameter <IMicrosoftGraphEdiscoveryNoncustodialDataSource>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource
   -InputObject <IComplianceIdentity>
   [-ResponseHeadersVariable <String>]
   [-AdditionalProperties <Hashtable>]
   [-ApplyHoldToSource]
   [-CreatedDateTime <DateTime>]
   [-DataSource <IMicrosoftGraphEdiscoveryDataSource>]
   [-DisplayName <String>]
   [-HoldStatus <String>]
   [-Id <String>]
   [-LastIndexOperation <Hashtable>]
   [-LastModifiedDateTime <DateTime>]
   [-ReleasedDateTime <DateTime>]
   [-Status <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
New-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource
   -InputObject <IComplianceIdentity>
   -BodyParameter <IMicrosoftGraphEdiscoveryNoncustodialDataSource>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-ProgressAction <ActionPreference>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Create a new noncustodialDataSource object.

Examples

Example 1: Add a noncustodial data source user or group mailbox with an email

Import-Module Microsoft.Graph.Beta.Compliance

$params = @{
	applyHoldToSource = $true
	dataSource = @{
		"@odata.type" = "microsoft.graph.ediscovery.userSource"
		email = "adelev@contoso.com"
	}
}

New-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource -CaseId $caseId -BodyParameter $params

This example will add a noncustodial data source user or group mailbox with an email

Example 2: Add a noncustodial data source site with a URL

Import-Module Microsoft.Graph.Beta.Compliance

$params = @{
	applyHoldToSource = $false
	dataSource = @{
		"@odata.type" = "microsoft.graph.ediscovery.siteSource"
		site = @{
			webUrl = "https://contoso.sharepoint.com/sites/SecretSite"
		}
	}
}

New-MgBetaComplianceEdiscoveryCaseNoncustodialDataSource -CaseId $caseId -BodyParameter $params

This example will add a noncustodial data source site with a url

Parameters

-AdditionalProperties

Additional Parameters

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

-ApplyHoldToSource

Indicates if hold is applied to noncustodial data source (such as mailbox or site).

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

-BodyParameter

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

Type:IMicrosoftGraphEdiscoveryNoncustodialDataSource
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

-CreatedDateTime

Created date and time of the dataSourceContainer entity.

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

-DataSource

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

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

-DisplayName

Display name of the dataSourceContainer entity.

Type:String
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

-HoldStatus

dataSourceHoldStatus

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

-Id

The unique identifier for an entity. Read-only.

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

-LastIndexOperation

caseIndexOperation

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

-LastModifiedDateTime

Last modified date and time of the dataSourceContainer.

Type:DateTime
Position:Named
Default value:None
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

-ReleasedDateTime

Date and time that the dataSourceContainer was released from the case.

Type:DateTime
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

-Status

dataSourceContainerStatus

Type:String
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.IMicrosoftGraphEdiscoveryNoncustodialDataSource

System.Collections.IDictionary

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphEdiscoveryNoncustodialDataSource

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 <IMicrosoftGraphEdiscoveryNoncustodialDataSource>: noncustodialDataSource

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [CreatedDateTime <DateTime?>]: Created date and time of the dataSourceContainer entity.
  • [DisplayName <String>]: Display name of the dataSourceContainer entity.
  • [HoldStatus <String>]: dataSourceHoldStatus
  • [LastIndexOperation <IMicrosoftGraphEdiscoveryCaseIndexOperation>]: caseIndexOperation
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Action <String>]: caseAction
    • [CompletedDateTime <DateTime?>]: The date and time the operation was completed.
    • [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
    • [CreatedDateTime <DateTime?>]: The date and time the operation was created.
    • [PercentProgress <Int32?>]: The progress of the operation.
    • [ResultInfo <IMicrosoftGraphResultInfo>]: resultInfo
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Code <Int32?>]: The result code.
      • [Message <String>]: The message.
      • [Subcode <Int32?>]: The result sub-code.
    • [Status <String>]: caseOperationStatus
    • [Id <String>]: The unique identifier for an entity. Read-only.
  • [LastModifiedDateTime <DateTime?>]: Last modified date and time of the dataSourceContainer.
  • [ReleasedDateTime <DateTime?>]: Date and time that the dataSourceContainer was released from the case.
  • [Status <String>]: dataSourceContainerStatus
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [ApplyHoldToSource <Boolean?>]: Indicates if hold is applied to noncustodial data source (such as mailbox or site).
  • [DataSource <IMicrosoftGraphEdiscoveryDataSource>]: dataSource
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Id <String>]: The unique identifier for an entity. Read-only.
    • [CreatedBy <IMicrosoftGraphIdentitySet>]: identitySet
    • [CreatedDateTime <DateTime?>]: The date and time the dataSource was created.
    • [DisplayName <String>]: The display name of the dataSource, and is the name of the SharePoint site.
    • [HoldStatus <String>]: dataSourceHoldStatus

DATASOURCE <IMicrosoftGraphEdiscoveryDataSource>: dataSource

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [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
  • [CreatedDateTime <DateTime?>]: The date and time the dataSource was created.
  • [DisplayName <String>]: The display name of the dataSource, and is the name of the SharePoint site.
  • [HoldStatus <String>]: dataSourceHoldStatus

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