Office 365

Upload High Resolution Picture in Exchange Online

Posted on

Set-UserPhoto Error – Now Solved 🙂 Error:   Proxy method PSWS: Request return error with following error message: The remote server returned an error: (413) Request Entity Too Large… + CategoryInfo          : NotSpecified: (:) [Set-UserPhoto], CmdletProxyException + FullyQualifiedErrorId : Microsoft.Exchange.Configuration.CmdletProxyException,Microsoft.Exchange.Management.RecipientTasks.SetUserPhoto More Information: Logged an issue in Connect Refer to the Workaround posted which might have […]

EWS

Exploring LYNC Contacts Using PowerShell

Posted on

Exploring LYNC Contact folders using PowerShell. Get-MailboxFolderStatistics will display all the folders information in users mailbox. So using this we can explore LYNC Contacts with the folder type ‘Quick Contacts’. Get-MailboxFolderStatistics -Identity <MailboxID> | ? {$_.FolderType -eq ‘QuickContacts’} Lync Contact Folders with 0 Entries If we delete lync contacts programmatically it may appear as GUID […]

EWS

Delete Lync Contact Entries in Exchange Online Using PowerShell

Posted on

PowerShell code to remove LYNC Contacts entries in Exchange Online. Code #Target MailboxID’s $MailboxNames = “TargetMailBoxID1” , “TargetMailBoxID1” #Any Exchange Admin ID with appropriate permissions $AdminID = “AdminID” #Fetch password as secure string $AdminPwd = Read-Host “Enter Password” -AsSecureString #Load the Exchange Web Service DLL $dllpath = “C:\Microsoft.Exchange.WebServices.dll” [Reflection.Assembly]::LoadFile($dllpath) #Create a Exchange Web Service $Service […]