The Viewfinder

Restricted Access to Business Central SaaS: Enhancing Security by IP or Location

Author: Mahdy Ghane
Solution Architect, Data & Dynamics
Long View


 

One of the common questions asked by Long View Systems’ clients when evaluating Microsoft Business Central SaaS is, "Can we restrict user access to Business Central based on IP or location?" Our response is that it is currently not possible to achieve this using Business Central functions or Admin Center. However, it can be accomplished by utilizing the Conditional Access function of Azure Active Directory.

In this blog post we cover steps to activate Conditional Access on Azure Active Directory.

Pre-requestions:

  • Business Central
  • Azure AD Premium P1 or P2 license
  • Admin access to Azure AD (not Business Central)

Let’s get started

Go to your Azure Portal ( https://portal.azure.com/ ) then in Azure Services click on Azure Active Directory.

Restricted Access to Business Central SaaS

Make sure you have “Azure AD Premium P1 or P2 license”.

 

Restricted Access to Business Central SaaS 2

 

Then from left panel under Manage Click Security.

 

Restricted Access to Business Central SaaS 3

 

Then from left panel Protect -> Conditional Access.

 

Restricted Access to Business Central SaaS 4

 

Alternatively from the main page you can search for Azure AD Conditional Access and go to this page.

 

Restricted Access to Business Central SaaS 5

 

Then from left panel under Manage select Named Locations.

 

Restricted Access to Business Central SaaS 6

 

From top of the page you have two options:

  • Countries location : here you can select countries to access
  • IP ranges locations : if you want to define a range of IP to access your Business Central (such as your office network).

More information available here : Using the location condition in a Conditional Access policy

For this article use Countries location:

 

Restricted Access to Business Central SaaS 7

 

A Location named Canada was created and subsequently selected. Additional countries can be added if required, or different names can be created. It should be noted that at a later stage in the process, Access can be granted or blocked from this location.

 

Restricted Access to Business Central SaaS 8

 

Restricted Access to Business Central SaaS 8

 

Restricted Access to Business Central SaaS 8

 

From top of the page click on Conditional Access.

 

Restricted Access to Business Central SaaS 11

 

Then click on Create New policy.

 

Restricted Access to Business Central SaaS 12

 

Select the name for the new policy. Then click on user and group selected. From here select one user or multiple users, or user group to limit access to Business Central only from Canada, selected country or IP range. Users can be include or exclude as well.

 

Restricted Access to Business Central SaaS 13

Restricted Access to Business Central SaaS 14

Restricted Access to Business Central SaaS 15

 

Restricted Access to Business Central SaaS 16

 

Now select “Cloud apps or actions”.

 

Restricted Access to Business Central SaaS 17

 

Then select “Select apps” and click on “None”.

 

Restricted Access to Business Central SaaS 18

 

From the list search for Business Central or Dynamics 365 Business Central and select.

 

Restricted Access to Business Central SaaS 19

 

Restricted Access to Business Central SaaS 20

 

Click on 0 conditions selected.

 

Restricted Access to Business Central SaaS 21

 

Then under Locations click on “Not configured”.

 

Restricted Access to Business Central SaaS 22

 

Turn on Configure then select Selected Locations and click None.

 

Restricted Access to Business Central SaaS 23

 

Then from the list select Locations setup previously. In this case Canada.

 

Restricted Access to Business Central SaaS 24

 

Then from Grant section click on 0 controls selected and define if you want to Grant Access from that Location or Block Access from that location.

 

Restricted Access to Business Central SaaS 25

 

Restricted Access to Business Central SaaS 25

 

From the bottom of the page select Enable policy “on” then click create.

 

Restricted Access to Business Central SaaS 27

 

That’s it. You've successful Blocked or Grant access from specific locations or IP address. Usually, between 15 to 45 minutes before this take an effect.

If a user tries to access Business Central from an unauthorized location, it will prompt the following error:

 

Restricted Access to Business Central SaaS 28

 

Subscribe to our newsletter for the latest updates.


No comments found.
Anonymous User

Leave a Reply

Your email address will not be published. Required fields are marked *