本文介绍了无法删除用户的代理地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用PowerShell从单个Office 365用户中删除代理地址,但找不到正确的PS语法来这样做.我必须从该用户中删除代理地址,以便从O365中删除相应的域.

I am attempting to remove a proxy address from a single Office 365 user with PowerShell, but cannot find the correct PS syntax to do so. I must remove the proxy address from this user in order to remove the corresponding domain from O365.

当我运行以下命令时:

Get-Msoluser -userprincipalname user@domain.com |选择-expandproperty代理地址

我获得了用户代理(SMTP)地址的列表.该用户有两个代理地址,其中一个正确,一个不正确.

I get back the listing of the user's proxy (SMTP) addresses. This user has two proxy addresses with one correct and one incorrect. 

一个重要的事实是,本地域没有域同步(也称为AD CONNECT)-全部都在Azure AD中.另外,该用户没有Exchange Online帐户,因此没有与他关联的邮箱.

One important fact is that there is NO domain sync (aka AD CONNECT) with an on-premise domain - it is all in Azure AD. Also, this user does not have an Exchange Online account, so there is no mailbox associated with him.

删除INCORRECT代理地址的命令是什么?

What is the command to remove the INCORRECT proxy address?

谢谢您的协助!


推荐答案

Set-Mailbox <identity> -EmailAddresses @{remove="<E-mail address>"}


 

 


这篇关于无法删除用户的代理地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 10:19