更新时间:2023-12-05 21:45:16
您正在寻找的是仅应用程序集成.有关此过程的详细信息,请参见在没有用户的情况下获取访问权限作品.
What you're looking for is an App-Only integration. See Get access without a user for details on how this process works.
请记住,仅应用程序场景和委派场景之间的范围有所不同.此外,仅应用程序的情况将需要管理员同意,然后才能针对给定的租户进行操作(请参阅 v2端点和管理员同意).
Keep in mind that there are scope differences between app-only and delegated scenarios. Also, app-only scenarios will require Admin Consent before they can operate against a given tenant (see v2 Endpoint and Admin Consent).