Get-Clientaccessarray is giving error.

Hi,

I am using Exchange 2010. I am getting below error while running Get-Clientaccessarray

WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance
 of an object.
Object reference not set to an instance of an object.
    + CategoryInfo : NotSpecified: (:) [Get-ClientAccessArray], NullReferenceException
    + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Management.SystemConfigurationTasks.Get
   ClientAccessArray

BUT if i provide the name of Cllient access array like Get-ClientAccessArray -identity "CAS Array Name" then its working fine.
CAN any one let me know how to fix it?

Thanks
parv kumarengineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Simon Butler (Sembee)ConsultantCommented:
Just recreate the CAS array object.
It shouldn't cause downtime because you aren't touching the DNS object - unless someone is setting up a new Outlook profile at the exact time you are making the change.
As long as you use the same FQDN it should be fine.

Simon.
Seb IvCommented:
You can have waston running get-clientaccess array when old orphan array are stored in AD

CN=Arrays,CN=Exchange Administrative Group ,CN=Administrative Groups,CN=xxxxx,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=corp,DC=xxxxx,DC=com

Remove orphan client access array with adsiedit wait for AD replication error will disappear.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.