Hello,
In the CustomSettings.config file, you see the following values (path = %programfiles%\microsoft dynamcis 365 business central\160\Service\CustomSettings.config file or %programfiles%\microsoft dynamcis 365 business central\160\Service\Instances\<<name of newly created NST instance>>\CustomSettings.config file
NOTE: Dynamics 365 Business Central comes with three supported flavors: 140, 150 and 160 so if you have the Spring release, then in the below path 160 should be replaced by 140, etc.
<add key="ODataServicesPort" value="xxxx" />
<add key="ODataServicesEnabled" value="true" />
<add key="ODataServicesV3EndpointEnabled" value="true" />
<add key="ODataServicesV4EndpointEnabled" value="true" />
<add key="ODataServicesSSLEnabled" value="true"
<add key="PublicWebBaseUrl" value="xxx.domain.dk:443/<name of NST instance>/" />
<add key="PublicODataBaseUrl" value="xxx.domain.dk:xxxx/<name of NST instance>/ODataV4/" />
A correct OData Url needed for PowerBi could be ">nav.mydomain.onmicrosoft.com:16048/.../" />
and
<add key="ODataServicesPort" value="16048" />
For PowerBI, the url nav.mydomain.onmicrosoft.com:16048/.../ should be accessible for me (over the Internet).
Thanks.