Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

'Access denied' error when publishing AX reports.

Posted on by 3,061

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.

  • 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,061 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 148 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,061 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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans