Monday, 23 May 2016

An error (1332) occured while enumerating the group membership AX Report Deploy Error

When deploying AX 2012 reports, I got this following error message.
"The security group Administrators contains a member that is causing the following error : An error (1332) occurred while enumerating the group membership. The member's SID could not be resolved."
"The deployment was aborted. You do not have privilege to deploy to server: app server. For deployment, you must have
administrative rights to the SQL Server Reporting Services (SSRS) server. Contact your administrator to deploy."
When  tried deploying the reports using this command "Publish-AXReport - ReportName *", got this error message.
if you are a domain admin. This is the scenario; you have a user trying to deploy reports using the Microsoft Dynamics AX 2012 Management Utility, you get an error saying you need to be a member of the administrators group on SSRS machine, basically some variation of “you don’t have enough permissions” even though you have all the permissions required which does not include having to be a domain admin, you do not need to be a domain admin to deploy reports. Here is an example of the error message below:

Publish-AXReport -ReportName * -SkipReportServerAdminCheck
Solution:
Install KB2744300 which is Kernel build 6.0.1108.1870, or any other higher kernel build would be fine.
The fix is going to add an extra switch to the deploy command so that you can bypass the check if you want to.
The switch is: -SkipReportServerAdminCheck
So when you publish reports it will look like this for example:
Publish-axreport -reportname custtranslist -SkipReportServerAdminCheck
Please note this only works for deploying reports in the Microsoft Dynamics AX 2012 Management Utility.