添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
鬼畜的大象  ·  Solved: HDFS NFS copy ...·  1 周前    · 
忐忑的眼镜  ·  Got (401) ...·  1 周前    · 
淡定的茶壶  ·  MySQL :: Re: ERROR ...·  4 天前    · 
体贴的柳树  ·  解决Sql ...·  2 天前    · 
爱喝酒的充值卡  ·  GitHub - ...·  1 月前    · 
眼睛小的烈马  ·  Configuration Options ...·  6 月前    · 

We are using exchange webservice to get calendar data from on-premises Exchange Server ( https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-get-appointments-and-meetings-by-using-ews-in-exchange ),
but the following three errors often occur.

Error Message:
Access is denied. Check credentials and try again., The process failed to get the correct properties.

The specified object was not found in the store., The process failed to get the correct properties.

The request failed. The remote server returned an error: (401) Unauthorized.

Hi @Surey Yu ,

Thanks for posting in our Q&A forum.

Based on the error messages you provided, here are some possible causes and solutions:

Access is denied. Check credentials and try again., The process failed to get the correct properties.

This error may occur if the account you are using to access the Exchange Web Service does not have the appropriate permissions to the mailbox or folder you are trying to access. To fix this error, you can try the following:

  • Update the account credentials and make sure they are correct.
  • Check the inheritance box on the mailbox or folder properties and rebuild the offline address book (OAB).
  • Ensure you are using your full user principal name (UPN) if you are attempting to log onto an Office 365 service.
  • Check if the service principal name (SPN) that is required for OAuth authentication is missing or incorrect.
  • Perform a test on Microsoft Remote Connectivity Analyzer
  • The specified object was not found in the store., The process failed to get the correct properties.

    This error may occur if the mailbox or folder you are trying to access does not exist or has not been provisioned yet. To fix this error, you can try the following:

  • Verify that the mailbox or folder name is correct and that it belongs to the current mailbox.
  • Log into Outlook Web App (OWA) with the account you are using to access the Exchange Web Service and see if the mailbox or folder is visible.
  • Send an email to the mailbox or run Test-MapiConnectivity from the Exchange Management Shell to trigger the mailbox provisioning process.
  • The request failed. The remote server returned an error: (401) Unauthorized.

    This error may occur if the authentication method or scheme you are using to access the Exchange Web Service is not supported or configured properly. To fix this error, you can try the following:

  • Check the authentication settings on your Exchange Web Service client and server and make sure they match.
  • Use a supported authentication method such as basic, NTLM, or OAuth.
  • If you are using OAuth, make sure you have registered your application and obtained a valid access token.
  • If you are using impersonation, make sure you have granted the account you are using the Impersonation role on the mailbox or folder you are trying to access.
  • Hope the above info can help.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.