Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵狀

Microsoft Office 365 的 Azure Active Directory (Azure AD)群組中缺少使用者。

解決方案

有兩個 Microsoft Azure Active Directory 模組可透過 PowerShell 管理 Azure AD。 目前都支援這兩者。 

若要修正這個問題,請依照下列步驟執行:

  1. 使用 Azure AD PowerShell 模組,確認 Azure AD 中存在該物件。 例如,執行下列其中一個 Cmdlet:

    Get-MsolGroup -SearchString <EmailAddress or DisplayName>

    Get-AzureADGroup -SearchString <Mail or DisplayName>

  2. 如果遺失的使用者物件存在於 Azure AD 中。 確認物件具有 UserPrincipalNameTargetAddressMailNickname 屬性的值。

  3. 確認遺失的使用者存在於 Azure AD 中。 例如,執行下列其中一個 Cmdlet:

    Get-MsolUser -SearchString <UserPrinicipalName or DisplayName>

    Get-AzureADUser -SearchString <UserPrinicipalName or DisplayName>

  4. 使用 [取得使用者Cmdlet],確認 Exchange Online中存在收件者物件。

    1. 如果 [收件者] 物件不在 Exchange 中,請要求 Microsoft 從 Azure AD 將物件轉寄到 Exchange Online ,方法是使用 ObjectId 參數(格式為xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)。 若要取得 ObjectId 參數的結果,請執行下列 Cmdlet: Get-MsolUser -UserPrincipalName John@contoso.com | fl *object*

    2. 如果使用者未顯示為UserMailboxMailUser的收件者類型,請使用UserPrincipalName屬性,要求 Microsoft 提交物件,以便從 Azure AD 向 Exchange Online進行轉寄同步處理。 請提供此值,因為它可能與您的 PrimarySMTPAddress 屬性值不同。

  5. 確認沒有驗證或同步處理錯誤。 例如,請執行下列 Cmdlet: Get-MsolGroup -SearchString <EmailAddress or DisplayName> | fl ValidationStatus,*error*

    記事 只能使用 MsolUser Cmdlet 來查看 ValidationStatus 參數。如果 ValidationStatus健康,下列文章可能會協助您顯示錯誤的詳細資訊。 您會在 Office 365 入口網站或適用于 Windows PowerShell 的 Azure Active Directory 模組中查看使用者驗證錯誤

  6. 比較 Azure 與 Exchange Online 之間的成員資格計數。 您必須擁有群組的 ObjectID ,才能在 Azure AD 中執行命令。 您可以使用 MsolGroupAzureADGroup Cmdlet 找到這種情況。 接著,您可以在命令中使用此 ObjectId 參數來取得成員。 例如:

    Get-MsolGroupMember -GroupObjectId ObjectID

    Get-AzureADGroupMember -ObjectId ObjectID

    比較 Exchange 中的資訊。 例如: Get-DistributionGroupMember SMTPAddress

  7. 如果使用者已列于 Azure AD 中,但 Exchange online中遺失,請要求 Microsoft 提交群組物件,以便將其從 Azure Ad 向 Exchange online傳送到群組,然後確認在新增使用者時,同步處理完成。 提供 Azure ObjectID 參數,現在需要執行轉寄同步處理。 Get-MsolUser -SearchString <UserPrinicipalName or DisplayName> | fl ObjectID

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×