將商標新增至組織的 Azure Active Directory 登入頁面Add branding to your organization's Azure Active Directory sign-in page

使用您組織的標誌和自訂色彩配置,在 Azure Active Directory (Azure AD) 登入頁面上展現一致的外觀與風格。Use your organization's logo and custom color schemes to provide a consistent look-and-feel on your Azure Active Directory (Azure AD) sign-in pages. 當使用者登入貴組織的 Web 應用程式 (如 Office 365),且該應用程式使用 Azure AD 做為識別提供者時,即會顯示您的登入頁面。Your sign-in pages appear when users sign in to your organization's web-based apps, such as Office 365, which uses Azure AD as your identity provider.

注意

新增自訂商標需要使用 Azure Active Directory Premium 1、Premium 2 或 Basic 版本,或需有 Office 365 授權。Adding custom branding requires you to use Azure Active Directory Premium 1, Premium 2, or Basic editions, or to have an Office 365 license. 如需授權和版本的詳細資訊,請參閱註冊 Azure AD PremiumFor more information about licensing and editions, see Sign up for Azure AD Premium.

Azure AD Premium 和 Basic 版本適用於使用全球 Azure Active Directory 執行個體的中國客戶。Azure AD Premium and Basic editions are available for customers in China using the worldwide instance of Azure Active Directory. 由 21Vianet 在中國營運的 Azure 服務目前不支援 Azure AD Premium 和 Basic 版本。Azure AD Premium and Basic editions aren't currently supported in the Azure service operated by 21Vianet in China. 如需詳細資訊,請使用 Azure Active Directory 論壇 (英文) 與我們連絡。For more information, talk to us using the Azure Active Directory Forum.

自訂 Azure AD 登入頁面Customize your Azure AD sign-in page

您可以自訂 Azure AD 登入頁面,該頁面會在使用者登入您組織的租用戶特定應用程式 (例如 https://outlook.com/contoso.com ) 時或傳遞網域變數 (例如 https://passwordreset.microsoftonline.com/?whr=contoso.com ) 時出現。You can customize your Azure AD sign-in pages, which appear when users sign in to your organization's tenant-specific apps, such as https://outlook.com/contoso.com, or when passing a domain variable, such as https://passwordreset.microsoftonline.com/?whr=contoso.com.

當您的使用者移至網站,例如 www 自訂商標不會立即出現.office.com。Your custom branding won't immediately appear when your users go to sites such as, www.office.com. 使用者必須先登入,您的自訂商標才會出現。Instead, the user has to sign-in before your customized branding appears.

注意

所有商標元素均為選擇性使用。All branding elements are optional. 舉例而言,如果您指定的橫幅標誌沒有背景影像,登入頁面會顯示您的標誌和目的地網站 (例如,Office 365) 的預設背景影像。For example, if you specify a banner logo with no background image, the sign-in page will show your logo with a default background image from the destination site (for example, Office 365).

此外,登入頁面商標不會沿用至個人 Microsoft 帳戶。Additionally, sign-in page branding doesn’t carry over to personal Microsoft accounts. 如果使用者或商務來賓使用個人 Microsoft 帳戶登入,其登入頁面將不會出現貴組織的商標。If your users or business guests sign in using a personal Microsoft account, the sign-in page won't reflect the branding of your organization.

自訂您的商標To customize your branding

  1. 使用目錄的全域系統管理員帳戶登入 Azure 入口網站Sign in to the Azure portal using a Global administrator account for the directory.

  2. 選取 [Azure Active Directory] ,然後選取 [公司商標] ,再選取 [設定] 。Select Azure Active Directory, and then select Company branding, and then select Configure.

    Contoso - 公司商標頁面,設定 選項反白顯示

  3. 請在 [設定公司商標] 頁面上,提供下列部分或全部資訊。On the Configure company branding page, provide any or all of the following information.

    重要

    在此頁面新增的所有自訂影像均有其影像大小 (像素) 限制,而且可能有檔案大小 (KB) 限制。All the custom images you add on this page have image size (pixels), and potentially file size (KB), restrictions. 由於有所限制,很可能必須使用相片編輯程式來建立適當大小的影像。Because of these restrictions, you'll most-likely need to use a photo editor to create the right-sized images.

    • 一般設定General settings

      設定公司商標頁面,一般設定已完成

      • 語言。Language. 語言會自動設為預設值,而且無法變更。The language is automatically set as your default and can't be changed.

      • 登入頁面背景影像。Sign-in page background image. 請選取要做為登入頁面背景的 .png 或 .jpg 影像檔案。Select a .png or .jpg image file to appear as the background for your sign-in pages.

        影像大小不可超過 1920 x 1080 像素,且檔案大小必須小於 300 KB。The image can't be larger than 1920x1080 pixels in size and must have a file size of less than 300 KB.

      • 橫幅標誌。Banner logo. 請選取 .png 或 .jpg 格式的標誌,標誌會在使用輸入使用者名稱後出現在登入頁面上,也會出現在 My Apps 入口網站頁面上。Select a .png or .jpg version of your logo to appear on the sign-in page after the user enters a username and on the My Apps portal page.

        影像不能超過 60 像素的高度或寬度超過 280 像素為單位。The image can't be taller than 60 pixels or wider than 280 pixels. 建議使用透明影像,因為背景可能會不符合您標誌的背景。We recommend using a transparent image since the background might not match your logo background. 也建議不要在影像周圍加入邊框間距,否則會讓標誌看起來變小。We also recommend not adding padding around the image or it might make your logo look small.

      • 使用者名稱提示。Username hint. 輸入使用者忘記使用者名稱時,就會向使用者顯示的提示文字。Type the hint text that appears to users if they forget their username. 此文字必須是 Unicode,不可含有任何連結或程式碼,而且不可超過 64 個字元。This text must be Unicode, without links or code, and can't exceed 64 characters. 如果來賓是登入您的應用程式,建議不要加入此提示。If guests sign in to your app, we suggest not adding this hint.

      • 登入頁面文字。Sign-in page text. 請輸入會在登入頁面底部出現的文字。Type the text that appears on the bottom of the sign-in page. 您可以使用此文字來提供其他資訊,例如技術支援中心的電話號碼或法律聲明。You can use this text to communicate additional information, such as the phone number to your help desk or a legal statement. 此文字必須是 Unicode,而且不可超過 256 個字元。This text must be Unicode and not exceed 256 characters. 也建議不包含連結或 HTML 標記。We also suggest not including links or HTML tags.

    • 進階設定Advanced settings

      設定公司商標頁面,進階設定已完成

      • 登入頁面背景色彩。Sign-in page background color. 請指定十六進位色彩 (例如,白色是 #FFFFFF),此色彩會在低頻寬連線的情況下代替背景影像。Specify the hexadecimal color (for example, white is #FFFFFF) that will appear in place of your background image in low-bandwidth connection situations. 建議使用橫幅標誌的主要顏色或貴組織的代表顏色。We recommend using the primary color of your banner logo or your organization color.

      • 方形標誌影像。Square logo image. 選取貴組織標誌的 .png (建議) 或 .jpg 格式影像,此影像會在新 Windows 10 Enterprise 裝置的安裝流程中向使用者顯示。Select a .png (preferred) or .jpg image of your organization’s logo to appear to users during the setup process for new Windows 10 Enterprise devices. 此影像只會用於 Windows 驗證,而且只有在租用戶使用 Windows Autopilot 部署或做為其他 Windows 10 使用體驗的密碼輸入頁面時,才會向此租用戶顯示。This image is only used for Windows authentication and appears only on tenants that are using Windows Autopilot for deployment or for password entry pages in other Windows 10 experiences. 在某些情況下它也可能會顯示同意對話方塊中。In some cases it may also appear in the consent dialog.

        影像不可超過 240x240 像素,且檔案大小必須小於 10 KB。The image can’t be larger than 240x240 pixels in size and must have a file size of less than 10 KB. 建議使用透明影像,因為背景可能會不符合您標誌的背景。We recommend using a transparent image since the background might not match your logo background. 也建議不要在影像周圍加入邊框間距,否則會讓標誌看起來變小。We also recommend not adding padding around the image or it might make your logo look small.

      • 方形標誌影像、暗色調佈景主題。Square logo image, dark theme. 與上述的方形標誌影像相同。Same as the square logo image above. 此標誌影像會取代深色背景下的方形標誌影像,例如,在全新體驗 (OOBE) 期間出現的 Windows 10 Azure AD 連結畫面。This logo image takes the place of the square logo image when used with a dark background, such as with Windows 10 Azure AD joined screens during the out-of-box experience (OOBE). 如果您的標誌在白色、深藍色和黑色背景上看起來效果均不錯,則不需要加入此影像。If your logo looks good on white, dark blue, and black backgrounds, you don’t need to add this image.

      • 顯示保持登入選項。Show option to remain signed in. 您可以選擇讓使用者保持登入 Azure AD,直到明確登出為止。如果您選擇 [否] ,此選項會隱藏,而且使用者必須在每次關閉並重新開啟瀏覽器時登入。You can choose to let your users remain signed in to Azure AD until explicitly signing out. If you choose No, this option is hidden, and users must sign in each time the browser is closed and reopened.

        注意

        SharePoint Online 和 Office 2010 的某些功能取決於能夠選擇此選項以保持登入的使用者。Some features of SharePoint Online and Office 2010 depend on users being able to choose to remain signed in. 如果您將此選項設定為 [否] ,使用者可能就會在登入時看見額外和非預期的提示。If you set this option to No, your users may see additional and unexpected prompts to sign-in.

  4. 您加入自己的商標完成之後,請選取 [儲存] 。After you've finished adding your branding, select Save.

    如果此流程建立的是您第一個自訂商標設定,則會成為租用戶的預設值。If this process creates your first custom branding configuration, it becomes the default for your tenant. 如果您有其他設定,則可以選擇預設設定。If you have additional configurations, you'll be able to choose your default configuration.

    重要

    若要將更多公司商標設定新增給您的租用戶,必須選擇 [Contoso - 公司商標] 頁面上的 [新增語言] 。To add more corporate branding configurations to your tenant, you must choose New language on the Contoso - Company branding page. 這會開啟 [設定公司商標] 頁面,可在此按照上述相同步驟進行。This opens the Configure company branding page, where you can follow the same steps as above.

更新您的自訂商標Update your custom branding

建立自訂商標之後,可以返回並變更任何項目。After you've created your custom branding, you can go back and change anything you want.

編輯您的自訂商標To edit your custom branding

  1. 使用目錄的全域系統管理員帳戶登入 Azure 入口網站Sign in to the Azure portal using a Global administrator account for the directory.

  2. 選取 [Azure Active Directory] ,然後選取 [公司商標] ,再選取 [設定] 。Select Azure Active Directory, and then select Company branding, and then select Configure.

    [Contoso - 公司商標] 頁面,會顯示預設設定

  3. 請在 [設定公司商標] 頁面上,按照本文的自訂您的 Azure AD 登入頁面一節的說明,新增、移除或變更任何資訊。On the Configure company branding page, add, remove, or change any of the information, based on the descriptions in the Customize your Azure AD sign-in page section of this article.

  4. 選取 [ 儲存]。Select Save.

    您對登入頁面商標所做的任何變更可能最多需要一個小時才會顯示。It can take up to an hour for any changes you made to the sign-in page branding to appear.

將特定語言公司商標新增到您的目錄Add language-specific company branding to your directory

無法將原本設定的語言更改為預設語言以外的語言。You can't change your original configuration's language from your default language. 不過如果需要不同語言的設定,可以建立新的設定。However, if you need a configuration in a different language, you can create a new configuration.

新增特定語言的商標設定To add a language-specific branding configuration

  1. 使用目錄的全域系統管理員帳戶登入 Azure 入口網站Sign in to the Azure portal using a Global administrator account for the directory.

  2. 選取 [Azure Active Directory] ,然後選取 [公司商標] ,再選取 [新增語言] 。Select Azure Active Directory, and then select Company branding, and then select New language.

    [Contoso - 公司商標] 頁面,反白顯示 [新增語言] 選項

  3. 請在 [設定公司商標] 頁面上,選取您的語言 (例如,法文),然後按照本文的自訂您的 Azure AD 登入頁面一節的說明,新增經過翻譯的資訊。On the Configure company branding page, select your language (for example, French) and then add your translated information, based on the descriptions in the Customize your Azure AD sign-in page section of this article.

  4. 選取 [ 儲存]。Select Save.

    [Contoso - 公司商標] 頁面會更新,以顯示新的法文設定。The Contoso – Company branding page updates to show your new French configuration.

    [Contoso - 公司商標] 頁面,會顯示預設設定

將您的自訂商標新增至頁面Add your custom branding to pages

以文字 ?whr=yourdomainname 修改 URL 結尾,將自訂商標新增至頁面。Add your custom branding to pages by modifying the end of the URL with the text, ?whr=yourdomainname. 這項修改適用於多個頁面,包括 Multi-Factor Authentication (MFA) 的設定頁面、自助式密碼重設 (SSPR) 設定頁面和登入頁面。This modification works on several pages, including the Multi-Factor Authentication (MFA) setup page, the Self-service Password Reset (SSPR) setup page, and the sign in page.

範例:Examples:

原始 URL: https://aka.ms/MFASetupOriginal URL: https://aka.ms/MFASetup
自訂 URL: https://account.activedirectory.windowsazure.com/proofup.aspx?whr=contoso.comCustom URL: https://account.activedirectory.windowsazure.com/proofup.aspx?whr=contoso.com

原始 URL: https://aka.ms/SSPROriginal URL: https://aka.ms/SSPR
自訂 URL: https://passwordreset.microsoftonline.com/?whr=contoso.comCustom URL: https://passwordreset.microsoftonline.com/?whr=contoso.com