Link to home
Start Free TrialLog in
Avatar of Andy Andy
Andy AndyFlag for India

asked on

exchange mailbox attribute modify

Hi Team,

Can any expert tell how to false the attribute that mention below :

ISpersontopersontextmessaging this value is true..and i need to make it false. So that text sms notification will be disabled for the user..

I checked through Owa But text messaging is not showing there in phonr tab.

And i havr found this attribute through

Get-mailbox -Identity "xxx" | fl *text*

Please revert this is very urgent..

Avatar of SreRaj
Flag of India image


Please try the following exchange powershell cmdlet

Clear-TextMessagingAccount -Identity User1 -Confirm $True

Following article has more information regarding this cmdlet.
Avatar of Andy Andy


Is this command make the attribute to false ??
And also i unable to run clear-textmessagingaccount.

I also checked, i am having the organization management role..

Please suggest
I want to disable the text messaging feature from the mailbox..
Avatar of SreRaj
Flag of India image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I unable to type clear-Textmessaging
 While doing tab command is not coming in exchange power shell
and also confirm, what it would clear.

My main issue is thaty, VIP user recieving Text message notification in his Mobile device, and for this we usually check the Text messaging is enabled in OWA or not. So i checked in OWA, settings-->phone and text messaging is not there.

But i can see in outlook Text messaging is enabled, How to Disable it.
In Exchange shell when i type command below :

Get-mailbox -Identity "xxx" | fl *text*

got below results

IsPersonToPersonTextMessagingEnabled  : True
IsMachineToPersonTextMessagingEnabled : True

Is persontopersontextmessaging need to be false, and i checked on other user it is set to false..

So how to set it false
Are you running Exchange 2007?
There should be an option to disabled SMS Sync in the phone. For Android devices, its available in the following location.

Settings -> Accounts and sync ->Manage Microsoft Exchange Activesync account -> Account Settings -> Server settings -> Uncheck SMS sync

Which phone VIP user is using?

From Phone i know, But the user didnt want to do this through phone, Is there any way we can do it from Exchange End, Like Exchange Management shell, Outlook..

And user is using Samsung Set

we are running with Exchange 2010 sp3 and outlook 2010
Its a permission issue. To run Clear-TextMessagingAccount, you account should be added to the role MyTextMessaging. This is part of User Roles and Default Role Assignment has this Role. Please check if your account has Default Role Assignment added.

User generated image
User generated image
User generated image
When i run the command you suggested, below is the result :

[PS] C:\Users\096744-s\Desktop>Get-ManagementRoleEntry *\clear-textmessagingaccount

Name                           Role                      Parameters
----                           ----                      ----------
Clear-TextMessagingAccount     MyTextMessaging           {Confirm, Debug, DomainController, ErrorAction, ErrorVariable, Identity, IgnoreDefaultSco.

Please confirm what i do so that we can run the Clear-textmessagingaccount command, and also confirm what this command will do. "i m not too sure if this not delete any data from user phone or mailbox "

Clear-TextMessagingAccount cmdlet is used to remove the text messaging settings from a user's account. Please refer the following article for more information.

You need to check if the account using which you have logged on to the Exchange Server has 'Default Role Assignment Policy' assigned to it. This can be verified from Exchange Management Console -> Recipients. Search for the account and open it properties. In Mailbox Settings tab you will be able to see 'Role Assignment Policy'. Please check if that account has 'Default Role Assignment Policy' assigned to it.
Yes i have checked...roles assignment policy is assigned to the account

So what is next need to be done
We could check to see if Text Messaging option in OWA is disabled thru policy in Segmentation. It can be configured in two places. Please check in both locations for Text Messaging and Enable it.

Organization Configuration -> Client Access -> OWA Mailbox Policies -> Policy Properties -> Segmentation Tab

User generated image
Server Configuration -> Client Access -> Outlook Web App -> owa (Default Web Site) Properties -> Segmentation Tab

User generated image
Sre raj,

I will check this and update you..but still want to mentioned here i already checked in owa virtual directory...text messaging is already set to false..but i havent checked the other option you told in last post..i am not questioning on your effort...
i want to greatly appreciate your effort, as you are giving quick response and for giving new info to me..on this question...

Dont know as this is tricky one issue...the text messaging is already enabled on one user and i am u able to disable it from anywhere....i hope you will definately help me on this to resolve..


If you are seeing Text Messaging disabled in any of the locations, then please enable it. This will make the Text Messaging tab appear in user's OWA session. From Text Messaging tab, you could disable Text Message Notifications for the user.

User generated image

As can't enable the text messaging on global environment, As i have also checked as per your previous post, Text messaging is disabled.

But dont know it is enable for that particular user, when we click new text messaging in outlook, it open the new window to type the message and send it.
and when we tried the same thing on any other user including me, then configure text messaging is appears, that means Text messaging is not enabled..

This isssue is with single user only