question

AdamTyler-3751 avatar image
0 Votes"
AdamTyler-3751 asked KaelYao-MSFT commented

Clear-TextMessagingAccount doesn't work for admins ?

Can someone please confirm this is still broken in Exchange 2016 CU20? Apparently admins don't have permissions to execute the CmdLet "Clear-TextMessagingAccount" for users that have already enabled this feature? I am getting some strange error, see below...

Error text.
The operation couldn't be performed because object 'contoso.com/Users/User Name' couldn't be found on 'DC01.contoso.com'

Looks like someone else has run into this too with no resolution....
https://social.technet.microsoft.com/Forums/exchange/en-US/41f04408-19a2-477a-b9b4-68bef6d9fc20/cleartextmessagingaccount-for-admins?forum=exchange2010

Regards,
Adam Tyler

office-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KaelYao-MSFT avatar image
0 Votes"
KaelYao-MSFT answered KaelYao-MSFT commented

Hi Adam.

I tested in my lab (Exchange 2016 CU20) and got the same error message.

According to this link: Clear-TextMessagingAccount

The Clear-TextMessagingAccount cmdlet allows a user to remove the text messaging settings from their own mailbox.
An administrator can't use this cmdlet to remove the text messaging settings from another user's mailbox.

It is by design that admins cannot use this command to change the text messaging settings of other users' mailboxes.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hmm. the feature goes against our written data policy. No way for an admin to remove these settings from all users in bulk?

It's strange Microsoft would even create a CmdLet for the end user. They are expected to install the Exchange tools themselves first?

Regards,
Adam Tyler

0 Votes 0 ·

Hi,

I found an article which uses EWS Managed API to remove the settings.
For your reference: Remove text messaging settings on behalf of users
(Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.)

0 Votes 0 ·

Hi @AdamTyler-3751

Did suggestions above help?
If you have any questions or needed further help on this issue, please feel free to post back.

0 Votes 0 ·