We’re excited to announce the public preview of the User Configuration API in the Microsoft Graph beta endpoint. The User Configuration API is a new set of endpoints that you can use to create, read, update, and delete user configuration objects in Exchange Online mail folders.  User configuration objects—also known as folder associated items (FAIs)—are items associated with a specific mail folder, and each configuration object in a folder must have a unique key. Â
Many solutions need a reliable way to store and retrieve per-folder configuration data alongside mailbox content—whether that’s application state, settings, or other metadata scoped to a folder.  The userConfiguration resource supports multiple payload styles so you can store what best fits your scenario:Â
- binaryData: arbitrary binary dataÂ
- xmlData:Â serialized XMLÂ
- structuredData: key-value pairs of supported data typesÂ
API capabilities
The beta release includes full CRUD support for userConfiguration objects:Â
- Create a new userConfigurationÂ
- Get an existing userConfigurationÂ
- Update an existing userConfigurationÂ
- Delete a userConfigurationÂ
For example, you can read a configuration from either the signed-in user (/me) or a specific user (/users/{id}), scoped to a mail folder:Â
GET /me/mailFolders/{mailFolderId}/userConfigurations/{userConfigurationId}
GETÂ /users/{usersId}/mailFolders/{mailFolderId}/userConfigurations/{userConfigurationId}
Permissions (least privileged)Â
The API uses dedicated permissions for mailbox configuration items:Â
- Get supportsÂ
MailboxConfigItem.Read (least privileged) andÂMailboxConfigItem.ReadWrite (higher privileged)Â
- Create requiresÂ
MailboxConfigItem.ReadWrite
- Update requiresÂ
MailboxConfigItem.ReadWriteÂ
- Delete requiresÂ
MailboxConfigItem.ReadWriteÂ
As always, choose the least privileged permissions your application needs.Â
Get startedÂ
The easiest way to begin is to explore the API surface and try calls interactively.
Review the resource and method docs:Â
Use Graph Explorer to test requests quickly:Â
We’d love your feedbackÂ
As you explore the User Configuration API in beta, we want to hear what’s working well and where we can improve—especially around usability, gaps, and real-world scenarios.Â
Send feedback to:Â exouserconfigurationapifeedback@microsoft.comÂ
0 comments
Be the first to start the discussion.