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

Community site session details

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

IsSaaS is always true for a sandbox in BC18

(0) ShareShare
ReportReport
Posted on by

If you are searching for "IsSaaS" and "Business Central" because IsSaaS always returns true on a sandbox, then hopefully you have found this post.

odeunit "Environment Information" contains function IsSaaS. In BC 18, this will return TRUE on any sandbox, whether the sandbox is in cloud or not. How can you have a Sandbox which is not in the cloud? Two ways: In a Docker image, or you can mount a tenant as a Sandbox (Mount-NAVTenant -EnvironmentType Sandbox).

In order to be able to simulate SaaS on a Docker image, the IsSaaS function was changed in BC18 so that it will always return TRUE on a Sandbox.

If you want to check for SaaS in an OnPrem Sandbox, then use the function IsSaaSInfrastructure instead.

If you just read this, it probably will not make much sense, but if you got here via a Bing search then hopefully this is the answer you were looking for :-).

I have the same question (0)
  • Andy Sather Profile Picture
    on at
    RE: IsSaaS is always true for a sandbox in BC18

    Thank you Lars

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,808

#2
Sumit Singh Profile Picture

Sumit Singh 2,554

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,140

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans