Skip to main content

Notifications

Community site session details

Community site session details

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

Moving Navision DB to Azure

(0) ShareShare
ReportReport
Posted on by 5

Hi ,

We want to deploy navision 2017 database to azure  sql as a service , so I managed to extract the Schema and data and moved them to Azure .

My problem now is User access is denied . 

Even I tried to connect with the Database owner I always have the same problem which is access denied and couldn't  find source of help .

3465.png2816.png76536.png8611.png1512.png

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Moving Navision DB to Azure

    Is this error thrown by the RTC client?

    By default the database where the RTC tries to connect is stored in a config file called ClientUserSettings.Config.

    The path for the ClientUserSettings.Config file is:

    C:\Users\<username>\AppData\Local\Microsoft\Microsoft Dynamics NAV

    Check the below 3 keys and point them to the right db:

    <add key="Server" value="localhost" />

    <add key="ServerInstance" value="DynamicsNAV" />

    <add key="ServerPort" value="7076" />

    If this doesn't work, you can remove all user's personalization by executing the following sql queries:

    USE [Database Name]

    GO

    delete from [dbo].[User]

    delete from [dbo].[Access Control]

    delete from [dbo].[User Property]

    delete from [dbo].[Page Data Personalization]

    delete from [dbo].[User Default Style Sheet]

    delete from [dbo].[User Metadata]

    delete from [dbo].[User Personalization]

    then access the database again.

  • Navision Profile Picture
    5 on at
    RE: Moving Navision DB to Azure

    I have created a new user  :

    New-NAVServerUserPermissionSet -PermissionSetId SUPER -ServerInstance DynamicsNAV100   -WindowsAccount "chris1"

    New-NAVServerUserPermissionSet -PermissionSetId SUPER -ServerInstance DynamicsNAV100   -UserName "chris1"

    3034.user.png

    In my DB credential here , I used the owner of the Server admin and it's password 

    db.png

    But  : 

    client.png

    Did I miss something here ?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Moving Navision DB to Azure

    You can use New-NavServerUser cmdlet with Powershell to create a new user:

    docs.microsoft.com/.../new-navserveruser

    To assign permissions:

    docs.microsoft.com/.../new-navserveruserpermissionset

  • Navision Profile Picture
    5 on at
    RE: Moving Navision DB to Azure

    I have a sql user ,and those are the users I have inside nthe User table in Navision , but how to give them super permission  or how to create one using sql with super permission  ?

    Yes , I have a valid Sql User .Those are the users that I have in User table inside Navision,how to set SUPER permission ?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Moving Navision DB to Azure

    Is there a valid user in SQL Server? Do you have a user inside the User table in NAV (SUPER permission set)?

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans