Categories
Business Central Docker Dynamics NAV HOW TO Microsoft PowerShell

HOW TO remove docker dangling and unused images

Let us extend the concept of Spring Cleaning to our computers, virtual machines and servers where we are using Docker.

I was starting writing some PowerShell script from the list of the docker images

PS C:\> docker images

and thinking which filters to apply when I thought that maybe docker contains already a command that does some good cleanup.

Here the result of my research, we can use docker image prune, in my case I added also the parameters -a to remove all unused images (all images without at least one container associated to them) and -f that stands for Force to do not prompt for confirmation:

PS C:\> docker image prune -a -f

Note: every docker image related to Microsoft Dynamics NAV or Microsoft Dynamics 365 Business Central takes usually 10-20 GB of space.

If you use navcontainerhelper for the creation of the Docker containers I suggest you to have a look also of the content of the folder under the following path:

C:\ProgramData\NavContainerHelper

You could find old database backup or source file objects downloaded that could be deleted as well.

Did my HOW TO help you? Leave a reply.

Categories
Business Central HOW TO Microsoft

HOW TO add new users in Business Central SaaS

Maybe you noticed that navigating to the Users list page in Microsoft Dynamics 365 Business Central SaaS the button + New is disabled.

HOW TO add new users in Business Central SaaS?

Well, to add a new user in BC SaaS you should first create a new account in the Tenant connecting to the Microsoft 365 admin center using your browser (I suggest you use Google Chrome) with an account with Admin Role access.

From the Admin Center, navigate to the menu Users -> Active Users and add a new user using one of the buttons “Add a user” or “Add multiple users“.

Remember that in order to allow a user to connect to Business Central you must assign a Dynamics 365 Business Central license to its account.

New accounts are not visible in Business Central?

After you created new users in the Admin Center then you need to connect to Business Central, open the Users list page and use the function from the menu Process -> Get New Users from Office 365

Did my HOW TO help you? Leave a reply.