activities
latest
false
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
UiPath logo, featuring letters U and I in white
生产力活动
Last updated 2024年11月21日

AADSTS70002:InvalidClient - 验证凭据时出错

问题

When using a Microsoft 365 activity with Application ID and Secret authentication method, you encounter the following error: "AADSTS70002: InvalidClient - Error validating the credentials. The specified client_secret does not match the expected value for this client. Correct the client_secret and try again."

解决方案

  1. In Azure, go to App registrations, select your application, then navigate to the Overview tab.

  2. Check the Directory ID (Tenant ID) and Application ID (Client ID) to ensure these are the IDs used for your authentication configuration.

  3. Navigate to the Certificates & secrets tab and generate a new secret to be used in the Scope activity.. This ensures you are using the correct secret. Make sure you copy the Secret Value, not the Secret ID.

  • 问题
  • 解决方案

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。