Avatar of CHI-LTD
CHI-LTDFlag for United Kingdom of Great Britain and Northern Ireland asked on

Exchange Shell Command?

To enable an active sync device that has been blocked by a rule is?

Something:  -AllowNonProvisionableDevices $true

Thanks
ExchangeActive DirectoryWindows Server 2008

Avatar of undefined
Last Comment
CHI-LTD

8/22/2022 - Mon
SOLUTION
Patrick Bogers

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER CERTIFIED SOLUTION
David Paris Vicente

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
CHI-LTD

i have the deviceid..
ASKER
CHI-LTD

This has changed it to allowed..

Set-CASMailbox Mailbox -ActiveSyncALlowedDeviceIDs $null

Any ideas why this has changed from allowed to blocked, and have not had any email?
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
CHI-LTD

Managed to get it allowed.  Device StateReason was Polic, when blocked.  
Now its enabled, reason, is an individual..
How long to wait?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
CHI-LTD

Yes its allowed.

Still can't sync the device though!!!
Subash Sundharan

Try removing and re-adding the account in device..
ASKER
CHI-LTD

removed device from exchange
remotely wiped the device using maas app.
reconfigured activesync through maas, but failed....

Not showing in exchange or any issues in maas portal...
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Subash Sundharan

Do you have any TMG or anything else to publish the ActiveSync?
ASKER
CHI-LTD

nope.  just firewall, ports open.
Subash Sundharan

Only thing can delay this configuration is IIS cache (max 15 min).. just wait for some more time and see...

Meantime make sure the device ID which you allowed and the device you configuring is matching.. :-)
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
ASKER
CHI-LTD

sure is matching by device id on exchange and maas360 and OWA...
Subash Sundharan

Do you still have problem?

If yes..

Does the deviceID still shows under ActiveSyncAllowedDeviceIDs when you run the following command?
Get-CASMailbox <User> | FL ACtive*

Is there any device under blockedDeviceIDs?

What is the error when you try to activate the device?
ASKER
CHI-LTD

Well its now started syncing this morning, and reliably when i hit refresh... failed once with 'could not connect due to security error...'
will update you monday.
thanks
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
CHI-LTD

We seem to be ok now, was an issue with our cloud MDM solution blocking the active sync device..