Setting up a Non-Interactive User

Last week I posted a method to use a Dynamics 365 Non-Interactive user as a way to use external tools (XrmToolBox, Plug-In Registration Tool, etc).  This solution came about due to the fact that the Delegated Admin doesn’t seem to work to access Dynamics 365 using these tools.

Non-Interactive users are also useful when connecting to Dynamics 365 with Portals and other external applications using a secure method and in some cases not using up a license.

Setting up a Non-Interactive user requires a specific set of steps in a particular order and potentially some timing considerations.

Here are step by step instructions and screen shots to setup a Non-Interactive user.  This should work for most recent versions of Dynamics CRM and Dynamics 365.

You will need the following

  • Global Administrator Access for Office 365
  • System Administrator Access for Dynamics 365 (Delegated Admin will not work)
  • Temporary access to a Dynamics 365 License

First step is to log in to the Office 365 Administrator portal and add a new user to Office 365.

1-addoffice365user
Add a new Office 365 User

Give an appropriate name to the user based on what you are using it for.  Assign it a Dynamics 365 License.  Don’t worry, assigning the license is only temporary for setting up the user.

2-adduser
Add user with Dynamics 365 License
4-sdkuser
User in Office 365

When you assign the Office 365 user a Dynamics 365 license, the process in the background will create the user in Dynamics 365.  This process may take a few minutes to potentially hours… so you are best to relax and wait for the process to do its thing.

wait
Always good advice

Log into Dynamics 365 with a full System Administrator account (not a delegated admin) and wait for your new user to show up in the Dynamics 365 User list.

5-userindyn365
User will eventually appear in the Enabled Users view

The next step would be to give this user the System Administrator role.  This will ensure that all your external tools will function correctly.

6-systemadminrole
Add System Administrator Role

In the user details, change the CAL license information to Non-Interactive.  This will prevent anyone from being able to login directly to Dynamics 365 with that user account.

7-settononinteractive
Non-interactive User

In the event anyone tries to login, they will see this message:

noninteractive
The door is locked to login to Dynamics 365

Now go back to your Office365 Portal and remove the Dynamics 365 license from the user account.  This will free up the license for other users.

8-removelicenses
Remove license

The user still should be an active Office 365 user, but no longer holds a Dynamics 365 licenses.  By virtue of the fact that it is a Non-Interactive user, it can still access Dynamics 365 via external tools and applications.

9-unlicensed
Office 365 unlicensed user

Depending on your security setup, you may need to change the password on the first login. A good method is to open up the Plug-In registration tool and attempt to login with the Non-Interactive user.

11-passwordreset
Change Password 

Once the password is reset, you should have no problem using the various external tools to access Dynamics 365 or using that Non-interactive user for external based applications.

10-pluginregistration
Non-Interactive user with no license accessing Dynamics 365 via Plug-In Registration Tool

In Conclusion…

The Non-interactive user is a valuable feature for accessing Dynamics 365 with external tools and applications and in most use cases does not need to consume a license if used for system configuration by a partner (assuming they have delegate admin access) or the application (such as a portal) if used by non-employees.

If you create an external application in which your employees will access Dynamics 365, you can still use the non-interactive user to access Dynamics.  However you are expected to have an appropriate licensing.

Hope you find these steps helpful.  I have been slowly accumulating a nice bit of content on this blog, please check out some of my other articles and if you have questions or ideas for other topics, feel free to reach out to me.

Cheers
Nick

3 thoughts on “Setting up a Non-Interactive User

  1. Is it possible to setup a non-interactive user with D365 On-Premise? Or is this for the online version only?

    Like

    1. Online only. For on-premise you can setup user accounts that can interact with Dynamics 365 from external applications if the users are not licensed. This would be on the honour system, you are not allowed to login with those users to do regular work.

      Like

Leave a comment