Warm tip: This article is reproduced from serverfault.com, please click

其他-集成Microsoft团队使用Ruby语言的API

(其他 - Integration microsoft teams apis in ruby language)

发布于 2020-12-03 09:57:27

我在Microsoft团队的文档中阅读了以下内容:

To deploy apps that are integrated with the Education APIs in Microsoft Graph, school IT admins must first grant consent to the permissions requested by the app. This consent has to be granted only once, unless the permissions change. After the admin consents, the app is provisioned for all users in the tenant.

如果我有tenantclientID实现此功能的ruby代码必须是什么?如果我想上课,应该怎么做?

Example please for begin in this ! 
Questioner
tino alberto
Viewed
11
Hilton Giesenow 2020-12-03 19:54:45

基本上,要为团队创建应用程序,你需要在Azure门户中为其注册一个条目。如何执行此操作取决于应用程序的类型以及打算如何使用它,但是例如,对于Teams中的选项卡,你可以在此处的“ Azure应用程序注册”屏幕中执行此操作此后还有更多步骤,具体取决于你要执行的操作(例如,在此处查看有关创建具有SSO功能以与Graph集成的应用程序的信息,这听起来像你所需要的:https//docs.microsoft.com/zh-CN我们/ microsoftteams / platform / tabs / how-to / authentication / auth-aad-sso?source = docs#steps

完成后,管理员需要代表组织中的所有用户授予你对应用程序的同意才能使用它。它将涉及到管理员访问类似URL的URL: https://login.microsoftonline.com/common/adminconsent?client_id={client-id}并经历同意过程。“客户端ID”是你先前注册的应用程序的应用程序ID。