Get-AccessToCustomerDataRequest

This cmdlet is available only in the cloud-based service.

Use the Get-AccessToCustomerDataRequest cmdlet to view Office 365 customer lockbox requests that control access to your data by Microsoft support engineers.

Note: Customer lockbox is included in the Office 365 E5 plan. If you don't have an Office 365 E5 plan, you can buy a separate customer lockbox subscription with any Office 365 Enterprise plan. Note : We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see Use the Exchange Online PowerShell V2 module (https://docs.microsoft.com/powershell/exchange/exchange-online/exchange-online-powershell-v2/exchange-online-powershell-v2).

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax (https://docs.microsoft.com/powershell/exchange/exchange-server/exchange-cmdlet-syntax).

Syntax

Get-AccessToCustomerDataRequest
   [-ApprovalStatus <String>]
   [-CreatedAfter <ExDateTime>]
   [-RequestId <String>]
   [<CommonParameters>]

Description

You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Examples

Example 1

Get-AccessToCustomerDataRequest

This example returns a summary list of all customer lockbox request.

Example 2

Get-AccessToCustomerDataRequest -ApprovalStatus Pending

This example returns a summary list of all customer lockbox requests that have the status value Pending.

Example 3

Get-AccessToCustomerDataRequest -RequestId EXSR123456 | Format-List

This example returns detailed information the customer lockbox request EXSR123456.

Parameters

-ApprovalStatus

The ApprovalStatus parameter filters the results by approval status. Valid values are:

  • Approved

  • Canceled

  • Denied

  • Pending

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online
-CreatedAfter

The CreatedAfter parameter filters the results by the creation date in Coordinated Universal Time (UTC).

To specify a date/time value for this parameter, use either of the following options:

  • Specify the date/time value in UTC: For example, "2016-05-06 14:30:00z".

  • Specify the date/time value as a formula that converts the date/time in your local time zone to UTC: For example, (Get-Date "5/6/2016 9:30 AM").ToUniversalTime(). For more information, see Get-Date.

Type:ExDateTime
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online
-RequestId

The RequestId parameter filters the results by reference number (for example, EXSR123456).

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

Inputs

Outputs