Setting the Authentication Method for API Calls between the Azure Functions and Graph Modeling
23/06/2026
The Azure functions communicate with the Graph Modeling server via REST API calls. These calls are protected with OAuth 2.0, which is the default authentication method for new installations for Graphwise for SharePoint.
Note
This functionality requires Graph Modeling 2022 R1 or higher.
We recommend using OAuth 2.0 to authorize the access to Graph Modeling APIs to ensure that your API authentication complies with high security standards and to benefit from improved performance compared to Basic Authentication.
Access the settings of the app hosting the Azure functions. For more information, refer to the Microsoft Azure documentation.
Click the Edit icon next to the
OAuthsetting.The Add/edit application setting dialog opens.
If you want to use OAuth, set the value to
true.If you want to use Basic Authentication, set the value to
false.Confirm with Update.
Important
The default authentication method is OAuth. The app settings must contain the Graph Modeling client secret and the URL to an access token. If you change the authentication method to Basic Authentication then the app settings must contain the Graph Modeling username and password.