none
EWSを使用したスクリプトのエラー RRS feed

  • 質問

  • EWSを使用して、ユーザーメールボックス内のフォルダを削除しようとしています。

    今まで利用可能であったのに突然以下のエラーが表示される様になりました。

    調べてみるとスロットリングが原因の様に見受けられたのですが、認識に相違はありませんか?

    その場合、対処する方法を教えて頂きたいです。

    お手数ですが、ご回答の程よろしくお願い致します。

    【スクリプト】

    $PathToSearch = "/受信トレイ/テストフォルダ"  
    $folderid = new-object Microsoft.Exchange.WebServices.Data.FolderId([Microsoft.Exchange.WebServices.Data.WellKnownFolderName]::MsgFolderRoot,$Mailbox)   
    $tfTargetFolder = [Microsoft.Exchange.WebServices.Data.Folder]::Bind($service,$folderid)  

    【エラー】

    "2" 個の引数を指定して "Bind" を呼び出し中に例外が発生しました: "The specified object was not found in the store., The process failed to get the correct properties."
    発生場所 C:\Users\Orito\Downloads\test.ps1:6 文字:1
    + $tfTargetFolder = [Microsoft.Exchange.WebServices.Data.Folder]::Bind( ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ServiceResponseException

    2020年4月13日 11:16

回答

  • こんにちは。フォーラムオペレーターのFarenaです。

    TechNetフォーラムにご投稿くださいましてありがとうございます。

     

    EWS問題を解決するためのより適切なチャネルである Exchange Server サポートにお問い合わせいただくことをお勧めします.

    下記のフォーラムに投稿して頂いた方が適切なアドバイスが得られやすいかと思われます。

    https://social.technet.microsoft.com/Forums/ja-JP/home?category=exchangeserver

    今後とも TechNet フォーラムをよろしくお願いします。


    Please remember to mark the replies as answers if they help.
    "Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on Microsoft Q&A (Preview)!
    We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on Microsoft Q&A (Preview)!
    For more information, please refer to the sticky post.

    • 回答としてマーク R_TO 2020年4月24日 5:00
    2020年4月15日 6:29
    モデレータ