Skip to content

IS it possible to export Resource mailboxes as well? #10

Description

@nfrederickx

This script works well on regular mailboxes.
When I try it on resource mailboxes I get this error:

Export-GCECalendar : StatusCode: 404, ReasonPhrase: 'Not Found', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
Transfer-Encoding: chunked
Strict-Transport-Security: max-age=31536000
request-id: 6eb9321d-50b3-47fd-b72e-d035552b1fb7
client-request-id: 6eb9321d-50b3-47fd-b72e-d035552b1fb7
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"North Europe","Slice":"E","Ring":"4","ScaleUnit":"004","RoleInstance":"DB1PEPF00005B5C"}}
Cache-Control: private
Date: Mon, 08 Mar 2021 10:58:12 GMT
Content-Type: application/json; odata.metadata=minimal; odata.streaming=true; IEEE754Compatible=false; charset=utf-8
}
At line:60 char:19

  • ... $Events = Export-GCECalendar -MailboxName $MailboxName -ClientId $C ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Export-GCECalendar

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions