locked
How to clear up ISE environment from Azure tenant errors New-MailboxImportRequest or are these in cloud? RRS feed

  • Question

  • Hello, Recently I have been researching how to import PST files into Exchange on line, but am running into strange errors.

    Parameter syntax is from MS TechNet articles, so not sure what's going on? I've closed all sessions and restarted ISE, but still same issues when connecting to tenant. Please help! Thx

    New-MailboxImportRequest
    cmdlet New-MailboxImportRequest at command pipeline position 1
    Supply values for the following parameters:
    Cannot display the prompt for "Mailbox" because type "Microsoft.Exchange.Configuration.Tasks.MailboxLocationIdParameter" cannot be loaded.
        + CategoryInfo          : ResourceUnavailable: (:) [], PromptingException
        + FullyQualifiedErrorId : System.Management.Automation.Host.PromptingException
        + PSComputerName        : outlook.office365.com

    PS C:\Users\userme> New-MailboxImportRequest -Mailbox "myemail@mycompany.org" -FilePath "\\server\PST\testmg2.pst"  -IsArchive -TargetRootFolder "ImportedPSTs" -ExcludeFolders "#Calendar#/*"
    A parameter cannot be found that matches parameter name 'FilePath'.
        + CategoryInfo          : InvalidArgument: (:) [New-MailboxImportRequest], ParameterBindingException
        + FullyQualifiedErrorId : NamedParameterNotFound,New-MailboxImportRequest
        + PSComputerName        : outlook.office365.com

    Wednesday, June 7, 2017 7:58 PM

All replies

  • Hi,

    >>A parameter cannot be found that matches parameter name 'FilePath'.

    You need to grant the following permission to the group Exchange Trusted Subsystem to the network share where you want to export or import PST files:
    To import PST files from the share: Read permission
    To save exported PST files to the share: Read/Write permission.

    https://technet.microsoft.com/en-us/library/ff607310(v=exchg.141).aspx

    Besides please check this network path could be access: "\\server\PST\testmg2.pst" (note: appropriate privileges)

    Best regards,

    Andy


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Proposed as answer by Hello_2018 Tuesday, June 13, 2017 3:11 AM
    Thursday, June 8, 2017 6:54 AM