You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restoring the BC Cloud bacpac backup to On Premise | The new users do not meet the terms of the current license. The current license allows 4 full users and 0 limited users
#3310
Open
shadab256 opened this issue
Jan 24, 2024
· 3 comments
Issue -
we are restoring the online backup file (.bacpac) to on premise container. we already restore the database backup file and mounted same as your script. At the end of the script (New-BcContainerBcUser) we are getting below error:
I think the error message is very clear - the license allows 4 full users and you might have more than that in the database.
Which license are you using?
I think the CRONUS (DEMO) license allows 4 users - in that case, I assume that you can disable or delete users in the database directly (I don't know which tables you need to modify, sorry) to be able to mount.
Hi
we have created multi-tenant container, and we can see we have 4 Database.
saas-BCAPIDB
saas-default
saas-Production (This is our online Backup, which we restored)
saas-tenant
we can see dbo.User in saas-default and saas-tenant only.
saas-Production doesn't have any user table. As mentioned by MS support this database only contain Business Data only.
We are able to login successfully in default (Cronus). Facing issue while login into Production tenant.
please let me know if cmd to use for disabling or deleting users.
About license, we generated Production license from Microsoft MBS portal.
Seeking for your support to streamline this setup.
How many users do you have in the Production license?
If that is 4, then I guess the license is correctly imported.
dbo.User is (I think) SQL Server users.
The users you need to cleanup are Business Central Users (I guess)
I do not know which table contains the Business Central Users
I do think that BCAPIDB is your app database and Production is your tenant DB - the last one should (probably) contain the users.
Sorry that I cannot be of more help - but this is not my area of expertise.
Issue -
we are restoring the online backup file (.bacpac) to on premise container. we already restore the database backup file and mounted same as your script. At the end of the script (New-BcContainerBcUser) we are getting below error:
Ref Article - https://freddysblog.com/2021/03/02/restoring-your-online-business-central-database-locally/
The text was updated successfully, but these errors were encountered: