getMSGraphServiceClient

Returns a client for the Microsoft Graph API. Requires the msgraph package, which can be installed with cfpm.

getMSGraphServiceClient(config) → returns any

This function requires Adobe ColdFusion 2025 and up.  Not supported on Lucee, etc.

Argument Reference

config struct
Required

A struct of settings for the client.

Compatibility

ColdFusion:

Version 2025+ Listed by getFunctionList() in ColdFusion 2025+. No official documentation exists. The argument name and the msgraph package requirement were confirmed on CF2025.

Examples
Sample code invoking the getMSGraphServiceClient function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub