Showing posts with label troubleshooting. Show all posts
Showing posts with label troubleshooting. Show all posts

Wednesday, 28 October 2015

Unable to sync phone to Exchange

If you've been following my blog for the last few weeks you'll have heard me talk about the Exchange 2013 migration project I've been working on.  Well we hit another snag in the migration the other day around the users mobile phones not syncing to the new mailbox server after moving to Exchange 2013.

At first we thought it was just one or two users but it transpired that over 80 users were affected!! After investigating whether or not ActiveSync was working as expected (it was) we turned our attention to looking at an issue within the users accounts.

It turned out that the 80 users were all a member of a protected group within Active Directory and weren't getting the correct permissions to sync their phones as per Microsoft's best practices.

In order to get to that stage I used some PowerShell queries which I thought were quite interesting so I'm sharing.

I used the following command to query Active Directory for all users that had the "AdminCount" attribute set to something greater than 0.  If set to 1 it indicates the user is either a member of a protected group or has been:


Import-Module ac* 
Get-ADuser -filter {admincount -gt 0} -Properties admincount -ResultSetSize $null | export-csv c:\\onyx\document.csv

To find out which groups within the Active Directory environment I was working in were considered a Protected Group I ran the following query:

Import-Module ac*
Get-ADgroup -LDAPFilter "(admincount=1)" | select name 

From there I was able to check the groups individually to see which ones contained, if any, the users that were having issues with their phones.  All the affected users were a member of the "Print Operators" group. Mystery solved!



Monday, 29 June 2015

Cisco UCS Management Pack troubleshooting

We are running SCOM 2012 R2 and we recently tried to set up monitoring for our Cisco UCS environment. We had some difficulty, after importing the management pack and setting up the config we were seeing these alerts within SCOM:

(https://fqdn:443) [Cisco.Ucsm.Proxy.LoadCache.ProbeAction.ps1] Could not load file or assembly 'file:///C:\Windows\TEMP\e1jdhj04.dll' or one of its dependencies. The system cannot find the file specified.

After extensive research and much banging of heads we discovered that the resolution was to allow the Operations Management Action Account (svc_OMAA in our case) read/write permissions to C:\Windows\Temp on the SCOM management server!

Wednesday, 25 March 2015

Windows 8.1 Troubleshooting

When I was at TechEd Europe last year in Barcelona, I attended one of Sami Laiho's session - Windows 8.1 Black Belt Troubleshooting.  It was ultimately voted the 4th favourite session of the whole event by attendees.

I re-watched it on Channel 9 recently as I had recommended it to a colleague.

https://channel9.msdn.com/Events/TechEd/Europe/2014/WIN-B329

Take the time to watch, you'll defo learn something. And if you ever get the chance to attend a session with Sami Laiho in person, don't miss it!