Rename the DB name in SQL / D365F&O
You just go to SSMS and write these 3 queries on your Database. In my case, I am working with Microsoft Dynamics 365 Finance & Operations Alter database AxDB set single_user with rollback immediate; Alter database AxDB modify name = AxDB_old alter database AxDB set multi_user;