MyRapidi
MyRapidi

Search our Wiki

How to connect to Microsoft Graph

Here's a simple guide on how to connect to Microsoft Graph API:

A. Configuration in Azure Portal:

  1. Login to portal.azure.com
  2. Go To Microsoft Entra ID
  3. Go To App Registrations
  4. Click + New registration
    • Name = [your App Name] (Example: RapidiBCApp) 
    • [Section] Supported account types > Select :  ... Single tenant
  5. Click Register
  6.  Within same screen: 
    •  On the API permissions page for your app, click the Add a permission button. 
    •  Make sure the Microsoft APIs tab is selected. In the Commonly used Microsoft APIs section, click on Microsoft Graph and select first Delegated permissions and then Application Permissions.
    • Ensure that the right permissions are checked in both cases;
    • Click the Add permissions button. 
    • You will be returned to the previous screen, and there you have to click Grant Admin Consent for .... click there. 
  7. Within same screen, From the Certificates & secrets page, in the Client secrets section, choose New client secret: 
  • Type a key description (of instance app secret), 
  • Select a key duration of either In 1 year, In 2 years, or Never Expires. 
  • When you press the Add button, the key value will be displayed, copy it, and save the value in a safe location. 
  1. Keep the Application Id and the Application secret in a safe location – we will need these later. 


B. Configuration in Rapidi:

  1. Login to MyRapidi and navigate to the 'Connections' page and choose ODATA;
  2. The fields of the ODATA Connection are as follows: 
  • Code: auto-populated 
  • Description: – type a proper description 
  • Authentication Type:  Oauth2 (Azure AD) 
  • Server Connect: This is the endpoint to which the OData connection is being made. It can specifically target a specific resource within Microsoft Graph API. One example would be https://graph.microsoft.com/v1.0/9efb0c96-7560-4413-85b2-e931f9c1fd2d/users
  • Company: Enter Company Name or you can leave it blank. 
  • User Id: This is the application Id (that was created on first step).
  • Password: This is the client secret/application secret (created on the first step) 
  • Domain: This is the tenant id of Azure, e.g. you can find it under Server Connect field.
  • STS Endpoint/URN: Enter https://graph.microsoft.com
  • Metadata URL: https://graph.microsoft.com/v1.0/$metadata
  • Use SSL: Mark it as True