Outlook Error – ‘One or more users cannot be added to the folder access list. Non-local users cannot be given rights on this server’

KB ID 0000560 

Problem

Outlook will show you this error if you attempt to grant rights to a “distribution group” on an object for example, a public folder, or for calendar permissions.

You would think that converting the “Universal Distribution Group” to a “Universal Security Group” would solve this problem, but it does not.

Note: You may also see the following error, “an error occurred. Exception: Cannot use {Group_Name} as a security principal, Parameter name: secuirtyPrincipal.

Solution

1. First (I’m assuming) you ARE trying to add a security group that you have converted using the Active Directory Users and computers snap in like so, you will see I’ve got a Universal Distribution Group called “TestGroup”

2. To convert to a Universal Security Group simply change the group type and apply. (Note you will need to refresh the view in Exchange System Manager, before it reflects the correct group type as below).

3. But you will see, even though the type of group is correct you still see this error. (The more eagle eyed among you will see there’s a small error icon on the group type).

Why this has happened.

This has been a known problem since Exchange 2007. Essentially there’s an active directory attribute called “msExchRecipientDisplayType” that does not get changed properly when you convert the group using the GUI interface.

How to Fix it

Exchange 2007

Run the following Powershell command in the Exchange Management Shell;

[box]Set-Distributiongroup –identity {group name}[/box]

Exchange 2010

If you run that command on Exchange 2010, you will see the error (shown above)

“Members can’t remove themselves from security groups. Please set the group to Closed for requests to leave.”

You need to run the following Powershell command, in the Exchange Management Shell instead;

[box]Set-Distributiongroup–identity {group name} –MemberDepartRestriction Closed[/box]

Related Articles, References, Credits, or External Links

How to Create a Distribution Group in Exchange 2010 / 2007

Exchange 2010 – Delete / Remove all Disconnected Mailboxes

KB ID 0000470 

Problem

In older versions of Exchange, we just had to “Purge” disconnected mailboxes, now we don’t have that option.

Solution

WARNING this will remove ALL disconnected mailboxes, make sure you actually want to do this before proceeding.

Launch > Exchange Management Shell.

Issue the following commands;

[box] $mailboxes = Get-ExchangeServer | Where-Object {$_.IsMailboxServer –eq $true} | ForEach-Object { Get-MailboxStatistics –Server $_.Name | Where-Object {$_.DisconnectDate –notlike ‘’}} | select displayname, mailboxguid, database [/box]

Then;

[box] $mailboxes | ForEach { Remove-Mailbox -Database $_.Database -StoreMailboxIdentity $_.MailboxGuid -confirm:$false } [/box]

2. If you have the Exchange Management console open (as above), you may need to refresh, before they disappear.

Related Articles, References, Credits, or External Links

NA

Cannot Access Exchange Management Console

KB ID 0000477 Dtd 02/05/13

Problem

Since Exchange 2007, its management tasks have been done via PowerShell, (yes even the GUI Management). Which is fine, however it runs all that PowerShell from a virtual directory that lives in the servers’ IIS webserver. When that fails or there is a problem, Exchange runs quite happily, but you can’t run the management tools.

There are a number of reasons for this to fail and a number of different error messages, I will list them as I come acoss them.

Error 1 (Seen 16/10/12)

Error: Connecting to the remote server failed with the following error message: The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination to analyze and configure the WinRM service: “winrm quickconfig”. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command ‘Discover-exchangeserver- useWIA $true – suppressError $true’ -CurrentVersion ‘Version 14.1(Build 218.15).

I got the same when trying to access the Exchange Management Shell as well.

Update 16/10/12: I got this problem today again! It seems AVG 2012 causes this problem as well, if you have AVG installed remove it and try again.

Solution (Error 1)

1. Firstly drop to command line > then (as asked) run “WinRM QuickConfig”. Carry out any changes that it asks by simply pressing “y”.

2. Run the same command again untill it returns two positive results.

3. Start > Run > Services.msc {enter} Locate the following three services, make sure that they are set to “automatic startup” and are running.

IIS Admin Service Windows Remote Management (WS-Management) World Wide Web Publishing Service

4. Start > Administrative Tools > Expand Sites > Default Web Site > Make sure the default web site IS STARTED.

THIS WAS MY PROBLEM! If you can see the green start arrow then its NOT started.

5. When I attempted to start the default web site I got the following error:

Error: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020).

Essentially one or both of the two comms ports that IIS uses (Port 80 HTTP and Port 443 HTTPS) have been taken by another process or program. Have a common sense check, what’s been installed on this server that might have a “web portal”? UPS software, AV software, another web server like Apache for example?

To find out what process is using the port

6. Close down any open windows that you have on the server. At command line issue the following two commands:

[box] netstat -aon | find “:80” netstat -aon | find “:443” [/box]

The fist checks for programs using port 80, In my case there were none, the second command checks port 443, heres my culpritt. All I know at this point is it’s PID (in the example below 4852).

7. To find out what that PID is, right click your Task bar > Launch Task Manager > Processes Tab > View > Select Columns.

8. Turn on the PID column.

9. Sort the PID column (by clicking on the column title) locate the PID in question, find out what it is. Once you know that stopping it will not harm the server, then simply right click and “End Process Tree”.

Note: Some legitimate important Windows processes might be using these ports like “lsass” and “system”.

10. Now you should be able to start the default website, and the Exchange Management Console should open correctly.

WARNING: You have not fixed the problem! (Just identified it), the software that hijacked the IIS ports needs uninstalling, or changing so that it uses a different port.

 

Error 2 (Seen 02/05/13)

Connecting to the remote server failed with the following error message: The WinRM client… cannot determine the content type of the HTTP response from the destination computer. The content type is absent or invalid. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command ‘Discover-exchangeserver- useWIA $true – suppressError $true’ -CurrentVersion ‘Version 14.1(Build 218.15).

And from the Exchange Managent Shell;

Other Symtoms;

Attempting to open OWA gives a 500 – Internal server error. (If that’s the only problem and it’s SBS 2011, make sure the ‘Microsft Exchange Form Based Authentication’ service is running).

Solution (Error 2)

I spent an entire afternoon fighting with this error on an SBS 2011 server! Every post I found on the internet did NOT fix it. Not even this one (which was so close) but my envirnment variables were correct

The EMTShooter did not help either, I checked it’s recommendations. and they were all correct.

The bottom line is: This is an IIS problem not an Exchange one, the site I was at had done a lot of work on this server and just installed some third party software, (that may or may not have changed some IIS configuration settings). So I connected to another working SBS 2011 Server and copied the contents of the c:inetpubwwwroot folder to the affected machine (back it’s contents up first!). Then run the following command;

[box] iisreset [/box]

If you don’t have access to a working SBS 2011 server, here you go, (you owe me a vodka!)

 

Error 3 (Seen 30/04/14)

 

“The attempt to connect to http://server.domain.com/PowerShell using “Kerberos” authentication failed: connecting to remote server failed with the following error message : The WinRM client cannot complete the operation within the time specified.  Check if the machine name is valid and is reachable over the network and firewall exception for Windows Remote Management service is enabled.  For more information, see the about_Remote_Troubleshooting Help topic.”

Solution Error 3

1. Exit the EMC > Windows Key +R > cmd {Enter}

2. Execute the followig two commands;

[box]

DEL "%USERPROFILE%AppDataRoamingMicrosoftMMCDEL "%USERPROFILE%AppDataRoamingMicrosoftMMCExchange Management Console.*"

REG DELETE HKEY_CURRENT_USERSoftwareMicrosoftExchangeServerv14AdminTools /v NodeStructureSettings /f

[/box]

Related Articles, References, Credits, or External Links

Exchange 2010 – No Exchange servers are available in any Active Directory sites

Original Article Written 15/07/11