Microsoft Teams Custom Widget For ServiceDesk Plus On Premises

Microsoft Teams Custom Widget For ServiceDesk Plus On Premises


Microsoft Teams Custom Widget for ServiceDesk Plus On-Premises


Overview:

The Microsoft Teams widget enables technicians to create and schedule meetings directly from within ServiceDesk Plus.

Setting up Azure app registration:

  1. Head to the Azure portal - > App registrations - > New registration:


  1. Inside the form for creation, name the app registration and choose Multitenant under Supported account types. 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 SDP domain)



  1. Once created, you'll be redirected to the app registration's details, make a copy of the Application ID (Client ID) and have it stored.


  1. Head to Manage in the left pane - > Certificates and secrets - > New client secret - > enter a name and validity - > copy the value of the secret generated.



  1. Now head to the API permissions tab in the left pane and add the following three delegated permissions by Add a permission - > Microsoft Graph - > Delegated permissions:

    Calendars.ReadWrite.Shared
    OnlineMeetings.ReadWrite
    offline_access



Setting up ServiceDesk Plus:

Go to Admin -> Developer Space -> Connection.


Create a New Service:

Under Custom Services - > Click on Create Service.

Name the service microsoftteams.

Set the Authentication Type to OAuth2 and in the Client ID and Secret fields, paste the values copied from the initial steps on the Azure portal, respectively.

In the Authorize URL 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


Once done, add the below three scopes with both the scope and the display name as the same value:

Calendars.ReadWrite.Shared
OnlineMeetings.ReadWrite
offline_access

Change the scope delimiter from Comma to Space



Once done, click on Create Service, post which you'll be asked to authorise the connection. Name the connection as microsoftteams, select all the three scope checkboxes and click on Create And Connect.




You'll be asked to authorise with your Microsoft credentials, follow the on-screen instructions which will authorise the connection between Microsoft and ServiceDesk Plus.

We have successfully established a connection between the two services; now, onto uploading the MS Teams widget.




Step 2: Configure the Widget

1. Download the custom widget zip from here and unzip it.

2. Open the plugin-manifest.json file in a text editor.

3. Locate the connections object and update it with your connection details which can be found under Admin - > Connections - > microsoftteams - > JSON.


4. After editing the configuration, re-zip all the files of the widget.

(Important note: Select all the files individually and zip it instead of selecting the folder and zipping it)




Step 3: Upload the Custom Widget

1. Go to Admin -> Developer Space -> Custom Widget.



2.Upload the zipped widget file.

Once uploaded, the widget will be available for use.


Access the Microsoft Teams widget:

1. Navigate to an existing request in ServiceDesk Plus.

2. You should now see a Microsoft Teams pane added to the request details in the right-hand side.

3. Use the widget to create for and schedule meetings directly within ServiceDesk Plus.


Landing page:

Meeting creation:


Meeting history:


Meeting created in Microsoft Teams:



                  New to ADSelfService Plus?

                    • Related Articles

                    • Confluence Custom Widget for ServiceDesk Plus On-Premise

                      Confluence Custom Widget for ServiceDesk Plus On-Premise Overview: The Confluence custom widget is designed to seamlessly integrate Confluence with ServiceDesk Plus. This widget enables users to access Confluence pages directly from within ...
                    • Post Messages in Microsoft Teams channel using Webhooks

                      This article will guide you through the process of posting messages when a request is created to a Microsoft Teams channel using Connectors and ServiceDesk Plus's webhooks. To begin with, we have to create a connector for the Microsoft Teams channel ...
                    • Widget-Based Solution for Importing Change Requests into ServiceDesk Plus

                      Overview: We currently do not have a built-in feature to import XLS files directly into the Change module. However, we understand that many customers need to import change requests from other tools into ServiceDesk Plus. To address this need, we have ...
                    • Integrating MS teams with SDP MSP using Webhooks

                      PURPOSE: When a request is created under SDP MSP, a message is posted in the Microsoft Teams channel associated with the Account of the request. TESTED IN BUILDS: 14500, 14503 and 14504 PROCEDURE: STEP 1: Creating a Connector: >> To start, create a ...
                    • How to migrate ServiceDesk Plus from one server to another

                      Following are the steps to move data from the existing server to a new server, Step 1: Stop ManageEngine ServiceDesk Plus service. Step 2: Kindly Upgrade ServiceDesk Plus if required. Refer to the link below to check if you are in the latest version, ...