Skip to main content

branding_localizations

Creates, updates, deletes, gets or lists a branding_localizations resource.

Overview

Namebranding_localizations
TypeResource
Identra_id.organization.branding_localizations

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
backgroundColorstringColor that appears in place of the background image in low-bandwidth connections. We recommend that you use the primary color of your banner logo or your organization color. Specify this in hexadecimal format, for example, white is #FFFFFF.
backgroundImagestring (base64url)Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image reduces bandwidth requirements and make the page load faster.
backgroundImageRelativeUrlstringA relative URL for the backgroundImage property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.
bannerLogostring (base64url)A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo.
bannerLogoRelativeUrlstringA relative URL for the bannerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only.
cdnListarrayA list of base URLs for all available CDN providers that are serving the assets of the current resource. Several CDN providers are used at the same time for high availability of read requests. Read-only.
contentCustomizationRepresents the content options to be customized throughout the authentication flow for a tenant. NOTE: Supported by Microsoft Entra External ID in external tenants only.
customAccountResetCredentialsUrlstringA custom URL for resetting account credentials. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters.
customCSSstring (base64url)CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.
customCSSRelativeUrlstringA relative URL for the customCSS property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.
customCannotAccessYourAccountTextstringA string to replace the default 'Can't access your account?' self-service password reset (SSPR) hyperlink text on the sign-in page. This text must be in Unicode format and not exceed 256 characters.
customCannotAccessYourAccountUrlstringA custom URL to replace the default URL of the self-service password reset (SSPR) 'Can't access your account?' hyperlink on the sign-in page. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters. DO NOT USE. Use customAccountResetCredentialsUrl instead.
customForgotMyPasswordTextstringA string to replace the default 'Forgot my password' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters.
customPrivacyAndCookiesTextstringA string to replace the default 'Privacy and Cookies' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters.
customPrivacyAndCookiesUrlstringA custom URL to replace the default URL of the 'Privacy and Cookies' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128 characters.
customResetItNowTextstringA string to replace the default 'reset it now' hyperlink text on the sign-in form. This text must be in Unicode format and not exceed 256 characters. DO NOT USE: Customization of the 'reset it now' hyperlink text is currently not supported.
customTermsOfUseTextstringA string to replace the the default 'Terms of Use' hyperlink text in the footer. This text must be in Unicode format and not exceed 256 characters.
customTermsOfUseUrlstringA custom URL to replace the default URL of the 'Terms of Use' hyperlink in the footer. This URL must be in ASCII format or non-ASCII characters must be URL encoded, and not exceed 128characters.
faviconstring (base64url)A custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.
faviconRelativeUrlstringA relative url for the favicon above that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.
headerBackgroundColorstringThe RGB color to apply to customize the color of the header.
headerLogostring (base64url)A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo.
headerLogoRelativeUrlstringA relative URL for the headerLogo property that is combined with a CDN base URL from the cdnList to provide the read-only version served by a CDN. Read-only.
loginPageLayoutConfigurationRepresents the layout configuration to be displayed on the login page for a tenant.
loginPageTextVisibilitySettingsRepresents the various texts that can be hidden on the login page for a tenant.
signInPageTextstringText that appears at the bottom of the sign-in box. Use this to communicate additional information, such as the phone number to your help desk or a legal statement. This text must be in Unicode format and not exceed 1024 characters.
squareLogostring (base64url)A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.
squareLogoDarkstring (base64url)A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.
squareLogoDarkRelativeUrlstringA relative URL for the squareLogoDark property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.
squareLogoRelativeUrlstringA relative URL for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version served by a CDN. Read-only.
usernameHintTextstringA string that shows as the hint in the username textbox on the sign-in screen. This text must be a Unicode, without links or code, and can't exceed 64 characters.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectorganization_id, organizational_branding_localization_idRead the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.
listselectorganization_idRetrieve all localization branding objects, including the default branding.
insertinsertorganization_idCreate a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding.
updateupdateorganization_id, organizational_branding_localization_idUpdate the properties of an organizationalBrandingLocalization object for a specific localization.
deletedeleteorganization_id, organizational_branding_localization_idIf-MatchDelete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object.
background_imageexecorganization_id, organizational_branding_localization_idImage that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image reduces bandwidth requirements and make the page load faster.
background_image_2execorganization_id, organizational_branding_localization_idIf-MatchImage that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image reduces bandwidth requirements and make the page load faster.
banner_logoexecorganization_id, organizational_branding_localization_idUpdate the properties of an organizationalBrandingLocalization object for a specific localization.
banner_logo_2execorganization_id, organizational_branding_localization_idIf-MatchA banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo.
custom_cssexecorganization_id, organizational_branding_localization_idCSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.
custom_css_2execorganization_id, organizational_branding_localization_idIf-MatchCSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB.
faviconexecorganization_id, organizational_branding_localization_idA custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.
favicon_2execorganization_id, organizational_branding_localization_idIf-MatchA custom icon (favicon) to replace a default Microsoft product favicon on a Microsoft Entra tenant.
header_logoexecorganization_id, organizational_branding_localization_idA company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo.
header_logo_2execorganization_id, organizational_branding_localization_idIf-MatchA company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo.
square_logoexecorganization_id, organizational_branding_localization_idA square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.
square_logo_2execorganization_id, organizational_branding_localization_idIf-MatchA square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.
square_logo_darkexecorganization_id, organizational_branding_localization_idA square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.
square_logo_dark_2execorganization_id, organizational_branding_localization_idIf-MatchA square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
organization_idstringThe unique identifier of organization
organizational_branding_localization_idstringThe unique identifier of organizationalBrandingLocalization
If-MatchstringETag

SELECT examples

Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL.

SELECT
id,
backgroundColor,
backgroundImage,
backgroundImageRelativeUrl,
bannerLogo,
bannerLogoRelativeUrl,
cdnList,
contentCustomization,
customAccountResetCredentialsUrl,
customCSS,
customCSSRelativeUrl,
customCannotAccessYourAccountText,
customCannotAccessYourAccountUrl,
customForgotMyPasswordText,
customPrivacyAndCookiesText,
customPrivacyAndCookiesUrl,
customResetItNowText,
customTermsOfUseText,
customTermsOfUseUrl,
favicon,
faviconRelativeUrl,
headerBackgroundColor,
headerLogo,
headerLogoRelativeUrl,
loginPageLayoutConfiguration,
loginPageTextVisibilitySettings,
signInPageText,
squareLogo,
squareLogoDark,
squareLogoDarkRelativeUrl,
squareLogoRelativeUrl,
usernameHintText
FROM entra_id.organization.branding_localizations
WHERE organization_id = '{{ organization_id }}' -- required
AND organizational_branding_localization_id = '{{ organizational_branding_localization_id }}' -- required
;

INSERT examples

Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding.

INSERT INTO entra_id.organization.branding_localizations (
id,
backgroundColor,
backgroundImage,
backgroundImageRelativeUrl,
bannerLogo,
bannerLogoRelativeUrl,
cdnList,
contentCustomization,
customAccountResetCredentialsUrl,
customCannotAccessYourAccountText,
customCannotAccessYourAccountUrl,
customCSS,
customCSSRelativeUrl,
customForgotMyPasswordText,
customPrivacyAndCookiesText,
customPrivacyAndCookiesUrl,
customResetItNowText,
customTermsOfUseText,
customTermsOfUseUrl,
favicon,
faviconRelativeUrl,
headerBackgroundColor,
headerLogo,
headerLogoRelativeUrl,
loginPageLayoutConfiguration,
loginPageTextVisibilitySettings,
signInPageText,
squareLogo,
squareLogoDark,
squareLogoDarkRelativeUrl,
squareLogoRelativeUrl,
usernameHintText,
organization_id
)
SELECT
'{{ id }}',
'{{ backgroundColor }}',
'{{ backgroundImage }}',
'{{ backgroundImageRelativeUrl }}',
'{{ bannerLogo }}',
'{{ bannerLogoRelativeUrl }}',
'{{ cdnList }}',
'{{ contentCustomization }}',
'{{ customAccountResetCredentialsUrl }}',
'{{ customCannotAccessYourAccountText }}',
'{{ customCannotAccessYourAccountUrl }}',
'{{ customCSS }}',
'{{ customCSSRelativeUrl }}',
'{{ customForgotMyPasswordText }}',
'{{ customPrivacyAndCookiesText }}',
'{{ customPrivacyAndCookiesUrl }}',
'{{ customResetItNowText }}',
'{{ customTermsOfUseText }}',
'{{ customTermsOfUseUrl }}',
'{{ favicon }}',
'{{ faviconRelativeUrl }}',
'{{ headerBackgroundColor }}',
'{{ headerLogo }}',
'{{ headerLogoRelativeUrl }}',
'{{ loginPageLayoutConfiguration }}',
'{{ loginPageTextVisibilitySettings }}',
'{{ signInPageText }}',
'{{ squareLogo }}',
'{{ squareLogoDark }}',
'{{ squareLogoDarkRelativeUrl }}',
'{{ squareLogoRelativeUrl }}',
'{{ usernameHintText }}',
'{{ organization_id }}'
RETURNING
id,
backgroundColor,
backgroundImage,
backgroundImageRelativeUrl,
bannerLogo,
bannerLogoRelativeUrl,
cdnList,
contentCustomization,
customAccountResetCredentialsUrl,
customCSS,
customCSSRelativeUrl,
customCannotAccessYourAccountText,
customCannotAccessYourAccountUrl,
customForgotMyPasswordText,
customPrivacyAndCookiesText,
customPrivacyAndCookiesUrl,
customResetItNowText,
customTermsOfUseText,
customTermsOfUseUrl,
favicon,
faviconRelativeUrl,
headerBackgroundColor,
headerLogo,
headerLogoRelativeUrl,
loginPageLayoutConfiguration,
loginPageTextVisibilitySettings,
signInPageText,
squareLogo,
squareLogoDark,
squareLogoDarkRelativeUrl,
squareLogoRelativeUrl,
usernameHintText
;

UPDATE examples

Update the properties of an organizationalBrandingLocalization object for a specific localization.

UPDATE entra_id.organization.branding_localizations
SET
id = '{{ id }}',
backgroundColor = '{{ backgroundColor }}',
backgroundImage = '{{ backgroundImage }}',
backgroundImageRelativeUrl = '{{ backgroundImageRelativeUrl }}',
bannerLogo = '{{ bannerLogo }}',
bannerLogoRelativeUrl = '{{ bannerLogoRelativeUrl }}',
cdnList = '{{ cdnList }}',
contentCustomization = '{{ contentCustomization }}',
customAccountResetCredentialsUrl = '{{ customAccountResetCredentialsUrl }}',
customCannotAccessYourAccountText = '{{ customCannotAccessYourAccountText }}',
customCannotAccessYourAccountUrl = '{{ customCannotAccessYourAccountUrl }}',
customCSS = '{{ customCSS }}',
customCSSRelativeUrl = '{{ customCSSRelativeUrl }}',
customForgotMyPasswordText = '{{ customForgotMyPasswordText }}',
customPrivacyAndCookiesText = '{{ customPrivacyAndCookiesText }}',
customPrivacyAndCookiesUrl = '{{ customPrivacyAndCookiesUrl }}',
customResetItNowText = '{{ customResetItNowText }}',
customTermsOfUseText = '{{ customTermsOfUseText }}',
customTermsOfUseUrl = '{{ customTermsOfUseUrl }}',
favicon = '{{ favicon }}',
faviconRelativeUrl = '{{ faviconRelativeUrl }}',
headerBackgroundColor = '{{ headerBackgroundColor }}',
headerLogo = '{{ headerLogo }}',
headerLogoRelativeUrl = '{{ headerLogoRelativeUrl }}',
loginPageLayoutConfiguration = '{{ loginPageLayoutConfiguration }}',
loginPageTextVisibilitySettings = '{{ loginPageTextVisibilitySettings }}',
signInPageText = '{{ signInPageText }}',
squareLogo = '{{ squareLogo }}',
squareLogoDark = '{{ squareLogoDark }}',
squareLogoDarkRelativeUrl = '{{ squareLogoDarkRelativeUrl }}',
squareLogoRelativeUrl = '{{ squareLogoRelativeUrl }}',
usernameHintText = '{{ usernameHintText }}'
WHERE
organization_id = '{{ organization_id }}' --required
AND organizational_branding_localization_id = '{{ organizational_branding_localization_id }}' --required
RETURNING
id,
backgroundColor,
backgroundImage,
backgroundImageRelativeUrl,
bannerLogo,
bannerLogoRelativeUrl,
cdnList,
contentCustomization,
customAccountResetCredentialsUrl,
customCSS,
customCSSRelativeUrl,
customCannotAccessYourAccountText,
customCannotAccessYourAccountUrl,
customForgotMyPasswordText,
customPrivacyAndCookiesText,
customPrivacyAndCookiesUrl,
customResetItNowText,
customTermsOfUseText,
customTermsOfUseUrl,
favicon,
faviconRelativeUrl,
headerBackgroundColor,
headerLogo,
headerLogoRelativeUrl,
loginPageLayoutConfiguration,
loginPageTextVisibilitySettings,
signInPageText,
squareLogo,
squareLogoDark,
squareLogoDarkRelativeUrl,
squareLogoRelativeUrl,
usernameHintText;

DELETE examples

Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object.

DELETE FROM entra_id.organization.branding_localizations
WHERE organization_id = '{{ organization_id }}' --required
AND organizational_branding_localization_id = '{{ organizational_branding_localization_id }}' --required
AND If-Match = '{{ If-Match }}'
;

Lifecycle Methods

Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image reduces bandwidth requirements and make the page load faster.

EXEC entra_id.organization.branding_localizations.background_image
@organization_id='{{ organization_id }}' --required,
@organizational_branding_localization_id='{{ organizational_branding_localization_id }}' --required
;