‘Permission Report’…
 
Notifications
Clear all

'Permission Report' results with Error 500

6 Posts
2 Users
0 Reactions
453 Views
0
Topic starter

Hello, 

yesterday we updated to the latest version (3.2.1007) an now we’re getting error 500 whenever trying to look at ‘Permission Report’. 
Last year we had a simular problem fixed with an update. ( https://knowmoreit.io/support/general/distribution-group-permission-report-results-with-error-500/)
The log shows this: 

2023-12-13 09:18:26,113 [ERROR] ADPowershell – PSERROR: System.Management.Automation.RemoteException: Es kann kein Anbieter mit dem Namen “Microsoft.ActiveDirectory.Management.dll\ActiveDirectory” gefunden werden. <<>> REASON: ProviderNotFoundException
2023-12-13 09:18:26,113 [ERROR] CloudPanel.Modules.Reports.ExchangeReportModule – Error processing report: System.Exception: An error occurred attempting to get send as permissions for mailbox: CN=XX,OU=XX,OU=XX,OU=XX,DC=XX,DC=XX,DC=XX…System.Management.Automation.RemoteException: Es kann kein Anbieter mit dem Namen “Microsoft.ActiveDirectory.Management.dll\ActiveDirectory” gefunden werden.
bei CloudPanel.ActiveDirectory.ADPowershell.HandleErrors(Boolean ignoredNotFound, Boolean ignoreAlreadyExist)
bei CloudPanel.ActiveDirectory.ADObjects.Get_ACL(String distinguishedName, String samAccountName)
bei CloudPanel.ActiveDirectory.ADObjects.Get_ACL(String distinguishedName, String samAccountName)
bei CloudPanel.Modules.Reports.ExchangeReportModule.<.ctor>b__1_33(Object _)

KMI Support 2023-12-14 07:54

@rechenzentrumkraemer-it-de same server or did the server operating system change at all with the upgrade?

RZ-KITS Topic starter 2023-12-14 08:17

It is the same server, windows server 2016.

KMI Support 2023-12-14 08:45

@rechenzentrumkraemer-it-de ok, I will take a look. We did change up the reporting a lot in the new version

KMI Support 2023-12-16 17:25

@rechenzentrumkraemer-it-de Looks like we did change the powershell command back to: “Get-ACL -Path ActiveDirectory://RootDSE/<distinguishedname>”. Can you try running that command yourself and tell me what build of Windows you are on? You may have to run “Import-Module ActiveDirectory” first. On the output I’d like to see the Path again but hide your domain information.

 

One other thing I’d like to see if you can check is if the Active Directory powershell module is installed on the CloudPanel server. If it isn’t, can you please try installing it?

RZ-KITS Topic starter 2023-12-20 01:41

Posted by: KMI Support

“Get-ACL -Path ActiveDirectory://RootDSE/<distinguishedname>”.

If I try it like this, it does not work. But it works with two :: and after importing the ActiveDirectory module
Then it looks like this:
“Get-ACL -Path “ActiveDirectory:://RootDSE/<distinguishedname>””

The path is:

“Microsoft.ActiveDirectory.Management\ActiveDirectory:://RootDSE/<distinguishedname>”

Windows Build is: Windows Server 2016 Version 1607 (Build 14393.6529)

The Active Directory powershell module is installed.

KMI Support 2023-12-20 07:57

@rechenzentrumkraemer-it-de Looking at our latest code, we are actually using ActiveDirectory:://RootDSE/ but your error states “Microsoft.ActiveDirectory.Management.dll\ActiveDirectory”. 

Can you email us the CloudPanel.ActiveDirectory.dll file from the BIN directory where CloudPanel is stored?

Also, you have a CloudPanel license with support, you can email us directly at support@knowmoreit.io anytime you need support instead of using the forums. Just want to make sure you are aware that is an option 🙂

Share: