Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
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 TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming 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