Connect to your Microsoft Teams app for OAuth.
Tools
in the side menu and select Bot Management
.+ New Bot
> provide a Name and click on Add
. It’s recommended to append a word like Bot
so that it’s easy to identify this later on.Apps
in the side menu.
Basic information
, you need to provide a short description and URLs for your application’s website, Privacy Policy, and Terms of Use.
Save
below.
Basic information
are provided, otherwise it gives error while uploading the app in Teams for testing.Configure
in the side menu of the app, click on App features
.
Bot
and choose the Bot that you created above in Select an existing bot
, choose capabilities as applicable and click on Save
below.
App
created for testing.Download app package
option. The package will get downloaded as a .zip file.Apps
option in the side menu and click on Manage your apps
option at the bottom.Upload An App
and Upload your app to your org's app catalog
and select the .zip file that you downloaded and you will be navigated to the Built for your org
page.Submit an app to your org
option, then the admin can approve it by going to Teams Admin Centre > Teams Apps
> Manage Apps
> Search for the app that you submitted > Click on the app name to open its app details page and change the status to Allowed
.Refer here.Add
and Add to a team
and add the bot to a team and a channel.Apps
in Teams, you can also ask the Teams Admin to install the app by default for all the users. Follow the steps below to do this:
Teams apps
> Select Setup policies
in the side menu.Global (Org-wide default)
under Manage Policies.Add Apps
> Search for your Bot by its name > Select it > click on Add
and finally click on Save
.App Registrations
under Manage
in the side menu and select the app representing your bot, not your Microsoft Teams app.Apps catalog
in Cobalt > Search for Microsoft Teams
> Settings
> Use your credentials
> Callback Url
> Copy it.Manage
> Under Platform configurations, press the Add a platform button > Select Web > Paste the Callback Url > Click on Configure > Click Save button at the bottom.Manage
> API permissions
in the side menu > Click on + Add a permission
.Microsoft Graph
card under Microsoft APIs > Choose Application permissions
> Select the mandatory scopes > click on the Add Permissions
button.Certificates and Secrets
in the side menu and under Client Secrets tab, press the + New client secret
button. Give a Description, select the best expiry for your application and click Add
to create your credentials.Value
column.Overview
in the side menu > Essentials
tab > Copy the Client ID under Application (client) ID
and Tenant ID under Directory (tenant) ID
.Apps
in Teams Developer Portal, select your App which was created earlier and copy the App ID
present under Basic Information of the app.OAuth 2.0
based application. For your customers to provide you authorization to access their data,
they would first need to install your application. This page lets you set up your application credentials.
Permissions & Scopes
section.
For some applications Cobalt sets mandatory scopes which cannot be removed. Additional scopes can be selected from the drop down. Cobalt also has the provision to add any
custom scopes supported by the respective platform.
Post Message
Meetings
Others