Microsoft (Graph)

Interact with the Microsoft Graph API (Outlook, OneDrive, etc.) using SQL Server

  • Install the SQLHTTP database on your SQL Server
  • Register an application for a Web Platform and set a Redirect URL to http://localhost:53200 (or another port)
  • Continue with the above application setup and obtain an Application ID and an Application Secret.
  • Create the stored procedures documented below
  • Determine which Permissions Scopes will be needed
  • Execute the following SQL statement:

Stored Procedures:

Available API Calls:

s

IMPORTANT DISCLAIMER

CODE/SQL ON THESE PAGES ARE PROVIDED AS-IS AND ARE AVAILABLE FOR ILLUSTRATIVE PURPOSES ONLY.

USERS ARE REQUIRED TO ABIDE BY THE TERMS AND CONDITIONS FOR USING REFERENCED THIRD PARTY WEBSITES AND/OR APIs FROM THEIR RESPECTIVE WEBSITES. WE DO NOT CONDONE ANY VIOLATION OF THIRD PARTY WEBSITES AND/OR APIs TERMS AND CONDITIONS USING OUR SOFTWARE.

USERS SHALL BE SOLELY RESPONSIBLE AND BE SOLELY LIABLE FOR VIOLATION OF ANY RULES SPECIFIED BY THIRD PARTIES FOR USING THEIR WEBSITES AND/OR APIs, OR INFRINGEMENT OF RIGHTS OF SUCH THIRD PARTIES.