以 ruby 语言集成 Microsoft 团队 API
Integration microsoft teams apis in ruby language
我在微软团队的文档中读到:
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.
如果我有 tenant
和 clientID
,ruby 中的代码必须是什么来实现它?
如果我想获得 class 我应该做什么代码?
Example please for begin in this !
基本上,要为 Teams 创建应用程序,您需要在 Azure 门户中为其注册一个条目。如何执行此操作取决于应用程序的类型以及您打算如何使用它,但是对于 Teams 中的选项卡,例如,您可以在 Azure 应用程序注册屏幕中执行此操作 here. There are more steps thereafter depending on what you're trying to do (see here for instance on creating an app with SSO capabilities to integrate with Graph, which sounds like what you need: https://docs.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/auth-aad-sso?source=docs#steps)
完成后,管理员需要代表组织中的所有用户同意您的应用程序才能使用它。这将涉及管理员访问 url,例如:
https://login.microsoftonline.com/common/adminconsent?client_id={client-id}
并完成同意流程。 “客户端 ID”是您之前注册的应用程序的应用程序 ID。
我在微软团队的文档中读到:
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.
如果我有 tenant
和 clientID
,ruby 中的代码必须是什么来实现它?
如果我想获得 class 我应该做什么代码?
Example please for begin in this !
基本上,要为 Teams 创建应用程序,您需要在 Azure 门户中为其注册一个条目。如何执行此操作取决于应用程序的类型以及您打算如何使用它,但是对于 Teams 中的选项卡,例如,您可以在 Azure 应用程序注册屏幕中执行此操作 here. There are more steps thereafter depending on what you're trying to do (see here for instance on creating an app with SSO capabilities to integrate with Graph, which sounds like what you need: https://docs.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/auth-aad-sso?source=docs#steps)
完成后,管理员需要代表组织中的所有用户同意您的应用程序才能使用它。这将涉及管理员访问 url,例如:
https://login.microsoftonline.com/common/adminconsent?client_id={client-id}
并完成同意流程。 “客户端 ID”是您之前注册的应用程序的应用程序 ID。