January 28, 2021

QuickFix: Maintenance mode doesn't activate

Hi Folks,

While trying to bring your Tier-1 environments in maintenance mode using SSMS, system may take longer than expected even after multiple time ISS reset using CMD.

Try this, Open Visual studio (type DevEnv in windows search bar) and click 'Dynamics 365' menu then select ‘Restart IIS Express’ this will bring your system into maintenance mode immediately.



-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

January 18, 2021

Dynamics Deployment Services [wsfed-enabled] not appearing on Azure portal

Hi Folks,

If you are also facing an issue while creating an Azure connector in LCS and not founding Dynamics Deployment Services [wsfed-enabled] user in IAM in Azure subscription. Pl try the below step

1. Go to project setting > Azure connector and Authorized 
















Sometimes you may get issue while deploying the environment on the cloud, try below

 Try to give the below roles on the Azure portal to the user which you are currently logged in to LCS.

1. Owner

2. Contributor

Well, if it's not the end for you and you are still getting below error on some further screen,



Don't worry, it's the background services which maybe on a short break :), and taking a little longer to update the credentials. Give a try in a few min and you should be able to proceed,


Cheers!!!

Harry

Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta


January 11, 2021

Computed columns in Views - Dynamics AX

Hi Folks, 

I came across a useful blog on Computed columns in Views - Dynamics AX, however, its written for AX 2012 but fits pretty well with Dynamics 365FO as well. 

Have a look. 

Computed columns in Views - Dynamics AX 2012

-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

QuickFix : Error on Data entity


Error message: 

Severity Code Description Project File Line Suppression State
Error Infolog diagnostic message: 'Datasource name <EntityName>not found in the view <EntityName>.' on category 'Error'. 0


Possible cause: Check if you are using any calculated field and that method for the field is calling the wrong entity. Also, check if it points to the wrong data entity method. 
Below is the syntax


 dataEntityName      = tablestr(<EntityName>);
        Filed1 = str2Int64(SysComputedColumn::returnField(DataEntityName, identifierStr(<Datasource name>), fieldstr(<Datasource name>, CustTransRecId)));
       


-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta