web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

User under same domain should not be login if not present in user setup.

(3) ShareShare
ReportReport
Posted on by 90
I am facing an issue. I have one SaaS business central instance in which access is given to users under the company domain name to a specific sandbox. However, any users under the same domain are able to access the other sandbox, even if they do not have permission for it. The only requirement is that users are under the company domain.
So, do you have any idea how to restrict users from accessing other sandboxes, even within the same domain?

Also, one more thing, upon login, how to block a user from logging in if the user is not set in the user setup?

Thanks in Advance
I have the same question (0)
  • Suggested answer
    Mustafa Omerbegović Profile Picture
    1,473 Super User 2025 Season 2 on at
    Hello,

    Add permissions to users and set your permissions per company. Users who have defined a company in permissions then he will be able to log in only to the company for which they have defined permissions.
     
     
    From my experience, by the standard, you cannot use User Setup to restrict user login into environment. You will need to add custom functionality to restrict login that way.
     
    Greetings, Mustafa
  • Suggested answer
    RockwithNav Profile Picture
    8,637 Super User 2025 Season 2 on at
    This is a situation with the SaaS family, so if you want to restrict you need to play with certain areas
    • Permission sets - See if any distinct permission sets can be created for all Sandboxes or else assign the permission set to dedicated company only.
    • You can go with some customization to restrict this - See if some event we have on User management codeunit.
     
     
     
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans