The Microsoft Teams custom widget enables you to create and schedule meetings in Microsoft Teams from within the ServiceDesk Plus.
Here are the easy-to-follow, step-by-step instructions for setting up the Microsoft Teams widget in ServiceDesk Plus.
Step 1: Set up Azure app registration
Go to the Azure portal > App registrations > New registration.
In the Register an application form,
Enter a name for the app registration.
Under Supported account types, choose Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant).
Under Redirect URI, select Web from the drop-down and specify the URL in the below format:
https://<sdp_domain>/integration/oauth/callback (where <sdp_domain> should be replaced with the actual ServiceDesk Plus domain)
Click Register.

After you register, you will be redirected to the app registration's details page. Copy the Application ID (Client ID) and make a note of it for later use.
Go to Manage in the left pane > Certificates and secrets > New client secret.
In the Add a client secret form, enter a name and select the validity from the Expires drop-down.
Click Add.
Copy the value of the secret generated and make a note of it for later use.

Go to the API permissions tab in the left pane.
Go to Add a permission > Microsoft Graph > Delegated permissions.
Add the following three delegated permissions:
Calendars.ReadWrite.Shared
OnlineMeetings.ReadWrite
offline_access

Go to Admin > Developer Space > Connection.

Create a new service:
Go to Custom Services.
Click Create Service.
Name the service and service link as microsoftteams.
In the Client ID and Client Secret fields, paste the values copied from the initial steps on the Azure portal, respectively.
In the Authorize URL field, paste the below value:
https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize
In the Access Token URL and the Refresh Token URL fields, paste the below value:
https://login.microsoftonline.com/organizations/oauth2/v2.0/token
Add the following three scopes with the same values for both Scope and Scope Display Name fields. Click the plus icon next to the Display Name field to add more scopes.
Calendars.ReadWrite.Shared, OnlineMeetings.ReadWrite, offline_access
Select Space from the Scope Delimiter drop-down.
Click Create Service.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjUvaW1hZ2UoOSkucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzY1NzAwMjg1fX19XX0_&Signature=FIoxEXNCgBJCIaEBdx2y8HbNDANZvVe-fsVKja66OHXpmZ9DYm6OwNMEIwgvF8zfjt2LyNkcQ0YdqvzMZQyVvZ3JeHTgzAMwn0NmfAIRaO4gSfpAVDT3N1LRvLZFYFCLoB6K25fOjQfX5heGT-I~cLTX3XMwOiyIUW0MkdxLDJc4Mir6Z1cNISVIgdClLYmJI5iN-XatGtb1-M1w6YwOckfkTp~zo8O~xI5Hly-jijOKLX9oVEG7EQodb-yOd-qGLbpOFp9o2MtYGvyaQTwYc1rZmfzsbrz3swYKkZpeYNQm5pAvgJ0XEOq97Cuy9DLSKfoO4ASgyKHt85T3Le0avQ__&Key-Pair-Id=K2TK3EG287XSFC)
Create a new connection:
After you create the service, click Create Connection.
Provide a name for the connection, similar to the service name.
Select all the three scopes.
Click Create And Connect.

Establish the connection:
After you create the connection, click Connect.

Follow the on-screen instructions which will authorize the connection between Microsoft and ServiceDesk Plus.
The connection between the two services is now established. Next, you need to configure the Microsoft Teams widget in ServiceDesk Plus.
Download the custom widget zip from here and unzip it.
Open the plugin-manifest.json file in a text editor.
Locate the connections object in the editor and update it with the connection details found under Admin > Connections > My Connections > <your_connection_name> > JSON in ServiceDesk Plus.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjUvaW1hZ2UoMTApLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NTcwMDI4NX19fV19&Signature=XpmwkW1832c0FEpXNikr6ZWwT8w~g2Tplh2qxUJ18jhG1FdQngMi7ltAX5MqK0LpJfttnQs2yPtJ2YI1-P0GI-LQrC3C5ZbdNrjs4bFqOGfdU2J2qTa9WngIRgdYisv~saslc5aAIuakUCyr1sczBZu0thXVwelXhApEbX2LcAvUBxxtzPpbnnzO4cXzWFwPNbSRnUhLd1fNiONs1OINTvR2cwTFz8SHUxhKLz7Rzh4AIwe33umIOhZzE8qFFU1Tu2o~3RAJGNgr5X80T6PBrul22WkJ4lJsxwTzFei8G7bv33B8ssMy59r1OiuV~gprTB565zgxS10E5m4MP7Mc5A__&Key-Pair-Id=K2TK3EG287XSFC)
After you complete the configuration, re-zip all the files of the widget.
Go to Admin > Developer Space > Custom Widget.
Click + Custom Widget.
Enter a name for the custom widget.
Upload the zipped widget file. The supported file format is .zip and the maximum file size is 5MB.
Click Save.
Now, you should be able to access the Microsoft Teams widget.
1. Go to an existing request in ServiceDesk Plus.
2. You should now see a Microsoft Teams pane added to the request details page on the right side.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjUvaW1hZ2UoMTEpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NTcwMDI4NX19fV19&Signature=YYy2UM2FHq7m5gRb5oQ5~mXXmH65uCPErHOS1m1~TMPOBFMQZzGnrflIMfubaIcfTIjkKDOwX4NYpZ43oDK~2VBzUdu-423Z41EyiJheKXtH-aMUjnlcw4-5p-PuOy6QRx2dTrLJUUlzEUusweA4IQzLXHZ7W2UqazT7Y1tbWCL1tV43WDS1SZbhDgcmZREWvc8ZXMDHZ60QcWxTfqRLuG-1lUQMvpvk62ntk05tnQg0tCdancHR45ZDE7atWWC8dpvQ612MeBqRpZplvm193wo4GGUVN1BoaaB1wVWt7of9N6~DHWtLNaizxzgRzoSmDCkv~JqOZWYm44Fwt78clQ__&Key-Pair-Id=K2TK3EG287XSFC)
3. In the widget, click Create a Meeting to schedule meetings in ServiceDesk Plus.
4. Enter a title and choose an option in Schedule Options.
5. Click Create Meeting.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjUvaW1hZ2UoMTMpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NTcwMDI4NX19fV19&Signature=e9Ux3V1IzSgS7TYzDHQXHWoxGJr7fSpbmnxwSWV-Fed~BmtHrrh8AML3UkODdeUOw3eOLgMmTHhiGCJ8avy~8W714mAd~jJNlZXkR1R8niM8gFcwobFV3PhRC1-U72ii6S3feUfncFdJf37x2r9jkznVi5dDTL44sZwY~Mb09v6m6fCb8kGGrNhNfMSGxjDVZHn4klwWyWGjtNK3zk-zbNCysXFnalLwftdWw9Nxq4Cy2YdKNJugE3bQnbNfbtgk0fAPs399kc6o2dFD26A3Ey4UTjyIZF1w8437A7LSj43ETOSdgkYjlpuFXKSFxeFCon-Bs33QXevf2lrZvrtRJQ__&Key-Pair-Id=K2TK3EG287XSFC)
The meeting will be created in Microsoft Teams.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjUvaW1hZ2UoMTQpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NTcwMDI4NX19fV19&Signature=X--odG6Xqppps~iQQMIS1skKaOrA4-WYAgAG-OYUespzhUMaRIOMUMnh2P6OgsWoTxIjzKECcSxYryVfMlf52CqDEVClyIK9Ef2ug4kOn90KLK5uQn9GZHetZzPJ~fz6VX9-gn8h5dsmV1cduZJzDEzW84uJS6wICPNW3e81p6Du8VOgG2zGhy5dDW13X2YR8NfVQsjTIQYlRkVu7dDH1j8DR6R453pZtGvJOIrsMmup8Cu61Xu-btmeV3HCLiZxVhyzWtSMgTksHCSBLH52~pGBN8uARdFOU7aj~7kADR89m-VerWn-ruTDBZKEB7H0G9F5m6lfIz9Hmr72CynEGw__&Key-Pair-Id=K2TK3EG287XSFC)
6. Click View Session History to view the history of all previous meetings.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjUvaW1hZ2UoMTYpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NTcwMDI4NX19fV19&Signature=Y986BAk95rt6NUGfPP-mQISQKH4hd24~wJaoJ5kNcCEiDaUQ~nCks8g-CRUoFIk8EtusTw5t66XKCyGiudaHjg0Wl7s2FBxlDgTxs-oEisXpa4T5seIS3gkDtCh9f71oo6chbIXoB2KvrUJ3l7U5ldBzsN13fGvJJtzAKeoL81rwHt7LXBqxyhDDypjIqy~yuKXqJ~4XCZlMF-7TBVWqsdFU-RZAPGM2745LV5rKvzCfG2s1nTm9SkkFnA789iBT~KbA9zcRTvdtzMJx2ScaRy5T10c5q4l93jsiwtv5bIgeXQT0ndGRMR0ai-3x29CTAsCnrS~OTLdWLaV1hsw0Lg__&Key-Pair-Id=K2TK3EG287XSFC)