Support Forums

‘Distribution Group…
 
Notifications
Clear all

'Distribution Group Permission Report' results with Error 500

7 Posts
2 Users
0 Likes
28 Views
RZ-KITS
Posts: 32
Topic starter
(@rechenzentrumkraemer-it-de)
Trusted Member
Joined: 3 years ago

Last friday we’ve updated the cloud panel to the latest version. 
Since than trying to download ‘Distribution Group Permission Report’ or ‘Mailbox Permission Report’ returns Error 500.

We assume it could be an permission problem, but aren’t sure about that. 

 

Checking the logfiles resulted with these lines:

2022-11-08 12:03:59,383 [ERROR] ADPowershell – PSERROR: System.Management.Automation.RemoteException: Es kann kein Anbieter mit dem Namen “Microsoft.ActiveDirectory.Management.dll\ActiveDirectory” gefunden werden. <<>> REASON: ProviderNotFoundException
2022-11-08 12:03:59,384 [ERROR] CloudPanel.Modules.Reports.ExchangeReportModule – Error processing report: System.Exception: An error occurred attempting to get send as permissions for mailbox:(masked) 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_21(Object _)

6 Replies
Jacob Dixon
Posts: 1408
Admin
(@jdixon)
Illustrious Member
Joined: 8 years ago

Could you install the Active Directory Users & Computers remote admin tools on the CloudPanel server and see if the error continues?

Reply
RZ-KITS
Posts: 32
Topic starter
(@rechenzentrumkraemer-it-de)
Trusted Member
Joined: 3 years ago

After installing Active Directory Users & Computers remote admin tools and rebooting the CloudPanel server, the error persists.

Reply
2 Replies
Jacob Dixon
Admin
(@jdixon)
Joined: 8 years ago

Illustrious Member
Posts: 1408

@rechenzentrumkraemer-it-de Will you open powershell and type: “Import-Module -Name ActiveDirectory” and tell me if it imports or gives you error. The exact command it is trying to run is:

Import-Module -Name ActiveDirectory

Then it executes:

Get-ACL -Path "Microsoft.ActiveDirectory.Management.dll\ActiveDirectory:://RootDSE/<distinguished name here>"

 

So if you want to test and your domain name is “lab.com” then you could type:

Get-ACL -Path "Microsoft.ActiveDirectory.Management.dll\ActiveDirectory:://RootDSE/DC=lab,DC=com"
Reply
RZ-KITS
(@rechenzentrumkraemer-it-de)
Joined: 3 years ago

Trusted Member
Posts: 32

@jdixon

Posted by: @jdixon

Import-Module -Name ActiveDirectory

This does fine but,

Posted by: @jdixon

Get-ACL -Path “Microsoft.ActiveDirectory.Management.dll\ActiveDirectory:://RootDSE/<distinguished name here>”

doesn’t find the dll file.

Output:

+ CategoryInfo : ObjectNotFound: (Microsoft.Activ…ActiveDirectory:String) [Get-Acl], ProviderNotFoundException
+ FullyQualifiedErrorId : ProviderNotFound,Microsoft.PowerShell.Commands.GetAclCommand

 

When I try:
Get-ACL -Path “ActiveDirectory:://RootDSE/<distinguished name here>”

It works.

Reply
RZ-KITS
Posts: 32
Topic starter
(@rechenzentrumkraemer-it-de)
Trusted Member
Joined: 3 years ago

Is there anything we’re doing wrong?

Reply
1 Reply
Jacob Dixon
Admin
(@jdixon)
Joined: 8 years ago

Illustrious Member
Posts: 1408

@rechenzentrumkraemer-it-de We still cannot produce this but we see others out there having issues running this command as well. Some have suggested it was a bug. Can you tell me what operating system this is running and tell me if you have all the Microsoft & Windows patches? Also if we could do a remote session that will be helpful.

Reply
Share:
X