Microsoft Dynamics 365 | PowerObjects

Programmatically Enable the Dynamics 365 App for Outlook

When provisioning users, often you’ll need to do things like assign security roles, add them to teams, and configure default user settings. These things are fairly well documented in the SDK, but what about enabling the new Dynamics 365 App for Outlook? Today’s blog will walk you through the simple process of doing just this!

Manually, an administrator can navigate to Settings > Dynamics 365 App for Outlook, and see a list of eligible users for which they can enable the app. From here, administrators also have to option to automatically add the app for users. If your scenario calls for automation PLUS the ability to selectively add it, you’ll need to follow these next steps as well:

Find the GUID of the mailbox associated with the user you’re working with.

Once you have that, update the “officeappsdeploymentscheduled” to true.

After that, all you have to do is sit back and wait! The process to enable the app will now be queued up and normally takes about 15 minutes.

In case you missed it, make sure to read our recent blog, “5 Things We Love About Dynamics 365 App for Outlook.” And to stay in the loop on all Dynamics 365 tricks and tips, check out our Dynamics 365 landing page!

Happy CRM’ing!