End of mainstream support for Microsoft Dynamics AX 2009, 2012, and 2012Mainstream support for Dynamics AX 2009 Service Pack 1 (SP1), Dynamics AX 2012, and Dynamics AX 2012 R2 ended Oct. 9, 2018. After that date, only security hotfixes will be provided for these three versions through the extended support period that until Oct. 12, 2021. Read more
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants.Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements.
ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
I am facing issue with a batch job: Named user license count reports processing, it fails by throwing the following errors, thus resulting named user license count show blank.
1. The value "" is not found in the map.
2. Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Dynamics.Ax.Application.SysUserLicenseMiner.generateUserLicenseCountReportInfo() in SysUserLicenseMiner.generateUserLicenseCountReportInfo.xpp:line 99
at Dynamics.Ax.Application.SysUserLicenseMiner.Run() in SysUserLicenseMiner.run.xpp:line 6
at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54
at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13
at BatchRun::runJobStatic(Object )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object parameters)
at BatchIL.taskThreadEntry(Object threadArg)
I would appreciate if anybody has any suggestion to fix this.
Great if you have removed the user from AX which was missing in AD, then i expect to have different error log withing the batch Job.
Can you please share the fresh error log.
Batch Has been ended but data still not coming. No Log Available as of now.
Can you check if there are records in the table SysUserLicenseCount? This table is being updated during the license miner batch processing.
Yes, the table is getting data . But also creating last 4 records with 0.00 value.
Can you share a screenshot and tell if the dates are current or old?
Here is table data updated till 14th July.
Restart of AD Server has been resolved this issue.
Maybe a user is not in Active Directory?
I had faced this issue couple of times before.
In your case seems that you have a user within the AX Application which is removed from active directory, you need to find which user is that and either remove from ax or disable it.
You can create a job within the ax application and run it afterwards, it should show if you have any of those users which is removed from ad:
static void FindBadUsers(Args _args)
while select userInfo
dirPath = strfmt(@"WinNT://%1/%2,User", userInfo.networkDomain, userInfo.networkAlias);
dirObject = COM::getObjectEx(dirPath);
userAccControl = dirObject.get(#UserAccountControl);
if (bitTest(userAccControl, #UF_ACCOUNTDISABLE))
info(strfmt("%1@%2 disabled in AD, but not in AX", userInfo.networkAlias, userInfo.networkDomain));
dirObject = null;
warning(strfmt(@"%1@%2 - not found", userInfo.networkAlias, userInfo.networkDomain));
info(strfmt(@"Total: %1, not found: %2, disabled in AD, but not in AX: %3", numTotal, numNotFound, numDisabled));
Let me know if this works for you or not!
Business Applications communities