Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

'Access denied' error when publishing AX reports.

Posted on by 3,041

We last published a report about 3 months ago.  Everything worked fine then.  We attempted to publish a single report last week and received the following error:

pastedimage1661288761405v1.png

Permissions / setup haven't changed so I'm not 100% convinced of the 'Access is denied' error.  We have tried the 'Publish' command on both custom and out of the box reports with the same result.

In troubleshooting I went to one of our AOS servers and ran the test-axreportserverconfiguration command in the AX powershell. The following was the result:

pastedimage1661288945199v2.png

The one thing that stuck our to me was the 'False' on the report server URL being accessible.  I am able to access that URL via web browser on this machine.

UPDATE:

In looking at the 'System' event viewer logs, I found that it is logging the following error when attempting both of these actions:

The server-side authentication level policy does not allow the user MYDOMAIN\myuser SID (S-1-5-21-796845957-1409082233-839522115-18752) from address [IP Address of server performing above actions] to activate DCOM server. Please raise the activation authentication level at least to RPC_C_AUTHN_LEVEL_PKT_INTEGRITY in client application.

A search of this error leads me to the following:

https://support.microsoft.com/en-us/topic/kb5004442-manage-changes-for-windows-dcom-server-security-feature-bypass-cve-2021-26414-f1400b52-c141-43d2-941e-37ed901c769c

I don't see this KB as having been installed, however, it appears that DCOM hardness is the main suspect at the moment.

Categories:
  • Irshad Speaks Profile Picture
    Irshad Speaks 166 on at
    RE: 'Access denied' error when publishing AX reports.

    Manually deploy reports through Microsoft SQL Report Deployment Wizard.

  • b_radlyjames Profile Picture
    b_radlyjames 3,041 on at
    RE: 'Access denied' error when publishing AX reports.

    Yes, I have full access to the the URLs.

  • Deepak Agarwal Profile Picture
    Deepak Agarwal 132 on at
    RE: 'Access denied' error when publishing AX reports.

    Have a look at reporting server config. Check if you are able to access SSRS report from the bowser server URL.

  • b_radlyjames Profile Picture
    b_radlyjames 3,041 on at
    RE: 'Access denied' error when publishing AX reports.

    Yes, I have access to the SSRS report folder. (Full access)

  • Irshad Speaks Profile Picture
    Irshad Speaks 166 on at
    RE: 'Access denied' error when publishing AX reports.

    Do you have access on SSRS report folder? please check.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans