tag:blogger.com,1999:blog-57595258269139824712024-03-08T03:34:55.453-08:00SharePoint Azure and o365 BlogUnknownnoreply@blogger.comBlogger66125tag:blogger.com,1999:blog-5759525826913982471.post-19339454934298356252023-10-01T08:59:00.001-07:002023-10-01T08:59:09.184-07:00Create Azure APIM Self Hosted Gateway in docker using Azure AD Authentication<div class="heading-wrapper" data-heading-level="h2" style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit; position: relative;"><h2 class="heading-anchor" id="scenario-overview" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin-inline-start: -1.875rem; margin: 32px 0px 12px; outline-color: inherit; padding-inline-start: 1.875rem; padding: 0px;">Scenario overview</h2></div><p style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">The self-hosted gateway configuration API can check Azure RBAC to determine who has permissions to read the gateway configuration. After you create an Azure AD app with those permissions, the self-hosted gateway can authenticate to the API Management instance using the app.</p><p style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">To enable Azure AD authentication, complete the following steps:</p><ol style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: decimal; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Create two custom roles to:<ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Let the configuration API get access to customer's RBAC information</li><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Grant permissions to read self-hosted gateway configuration</li></ul></li><li style="box-sizing: inherit; list-style: decimal; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Grant RBAC access to the API Management instance's managed identity</li><li style="box-sizing: inherit; list-style: decimal; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Create an Azure AD app and grant it access to read the gateway configuration</li><li style="box-sizing: inherit; list-style: decimal; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Deploy the gateway with new configuration options</li></ol><div class="heading-wrapper" data-heading-level="h2" style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit; position: relative;"><a aria-label="Section titled: Prerequisites" class="anchor-link docon docon-link" href="https://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-enable-azure-ad#prerequisites" style="-webkit-font-smoothing: antialiased; background-color: rgba(0, 0, 0, 0); border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; height: 1px; inset-block-start: 1.38125rem; inset-inline-start: -1.875rem; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a><h2 class="heading-anchor" id="prerequisites" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin-inline-start: -1.875rem; margin: 32px 0px 12px; outline-color: inherit; padding-inline-start: 1.875rem; padding: 0px;">Prerequisites</h2></div><ul style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">An API Management instance in the Developer or Premium service tier. If needed, complete the following quickstart: <a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/api-management/get-started-create-service-instance" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Create an Azure API Management instance</a>.</li><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Provision a <a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-provision-self-hosted-gateway" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">gateway resource</a> on the instance.</li><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Enable a <a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-use-managed-service-identity" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">system-assigned managed identity</a> on the instance.</li><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Self-hosted gateway container image version 2.2 or later</li></ul><div class="heading-wrapper" data-heading-level="h3" style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit; position: relative;"><a aria-label="Section titled: Limitations notes" class="anchor-link docon docon-link" href="https://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-enable-azure-ad#limitations-notes" style="-webkit-font-smoothing: antialiased; background-color: rgba(0, 0, 0, 0); border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; height: 1px; inset-block-start: 1.1375rem; inset-inline-start: -1.875rem; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a><h3 class="heading-anchor" id="limitations-notes" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin-inline-start: -1.875rem; margin: 30px 0px 18px; outline-color: inherit; padding-inline-start: 1.875rem; padding: 0px;">Limitations notes</h3></div><ul style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Only system-assigned managed identity is supported.</li></ul><div class="heading-wrapper" data-heading-level="h2" style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit; position: relative;"><a aria-label="Section titled: Create custom roles" class="anchor-link docon docon-link" href="https://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-enable-azure-ad#create-custom-roles" style="-webkit-font-smoothing: antialiased; background-color: rgba(0, 0, 0, 0); border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; height: 1px; inset-block-start: 1.38125rem; inset-inline-start: -1.875rem; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a><h2 class="heading-anchor" id="create-custom-roles" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin-inline-start: -1.875rem; margin: 32px 0px 12px; outline-color: inherit; padding-inline-start: 1.875rem; padding: 0px;">Create custom roles</h2></div><p style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">Create the following two <a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">custom roles</a> that are assigned in later steps. You can use the permissions listed in the following JSON templates to create the custom roles using the <a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-portal" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Azure portal</a>, <a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-cli" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Azure CLI</a>, <a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/role-based-access-control/custom-roles-powershell" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Azure PowerShell</a>, or other Azure tools.</p><p style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">When configuring the custom roles, update the <a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/role-based-access-control/role-definitions#assignablescopes" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">AssignableScopes</a> property with appropriate scope values for your directory, such as a subscription in which your API Management instance is deployed.</p><p style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">API Management Configuration API Access Validator Service Role</span></p><div class="codeHeader" data-bi-name="code-header" id="code-try-0" style="border-bottom: 0px; box-sizing: content-box; color: #161616; display: flex; flex-direction: row; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 0.8rem; margin-top: 16px; min-height: 30px; outline-color: inherit;"><span class="language" style="box-sizing: inherit; flex-grow: 1; outline-color: inherit; padding: 2px 16px;">JSON</span><button class="action position-relative display-none-print" data-bi-name="copy" data-ol-has-click-handler="" style="align-items: center; appearance: button; border-left-width: 1px; box-sizing: inherit; cursor: pointer; display: flex; font-family: inherit; font-size: 12.8px; margin: 0px; outline-color: inherit; overflow: visible; padding: 2px 10px; position: relative !important;" type="button"><span aria-hidden="true" class="icon margin-right-xxs" style="align-items: center; box-sizing: inherit; display: inline-flex; height: 1em; justify-content: center; margin-inline-end: 0.5rem !important; outline-color: inherit; width: 1em;"><span class="docon docon-edit-copy" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 16px; outline-color: inherit; speak: none;"></span></span><span style="box-sizing: inherit; outline-color: inherit;">Copy</span><div aria-hidden="true" class="successful-copy-alert position-absolute right-0 top-0 left-0 bottom-0 display-flex align-items-center justify-content-center has-text-success-invert has-background-success is-transparent" style="align-items: center !important; background-color: var(--theme-success-base) !important; box-sizing: inherit; color: var(--theme-success-invert) !important; display: flex !important; inset-block: 0px; inset-inline: 0px; justify-content: center !important; opacity: 0; outline-color: var(--theme-success-invert); position: absolute !important; transition: opacity 0.5s ease-in-out 0s;"><span class="icon font-size-lg" style="align-items: center; box-sizing: inherit; display: inline-flex; font-size: 1.125rem !important; height: 1em; justify-content: center; outline-color: inherit; width: 1em;"><span class="docon docon-check-mark" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 16px; outline-color: inherit; speak: none;"></span></span></div></button></div><pre aria-label="Horizontally scrollable code" class="has-inner-focus" role="group" style="-webkit-font-smoothing: auto; border: .125rem solid var(--theme-border); box-sizing: inherit; color: #161616; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace !important; font-size: 0.875rem; hyphens: none; line-height: 1.3571; margin-bottom: 0px; margin-top: 0px; outline-color: inherit; overflow-wrap: normal; overflow: auto; padding: 1rem; tab-size: 4; word-break: normal;" tabindex="0"><code class="lang-json" data-author-content="{
"Description": "Can access RBAC permissions on the API Management resource to authorize requests in Configuration API.",
"IsCustom": true,
"Name": "API Management Configuration API Access Validator Service Role",
"Permissions": [
{
"Actions": [
"Microsoft.Authorization/denyAssignments/read",
"Microsoft.Authorization/roleAssignments/read",
"Microsoft.Authorization/roleDefinitions/read"
],
"NotActions": [],
"DataActions": [],
"NotDataActions": []
}
],
"NotDataActions": [],
"AssignableScopes": [
"/subscriptions/{subscriptionID}"
]
}
" style="border: 0px; box-sizing: inherit; direction: ltr; display: block; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 1em; line-height: 1.3571; outline-color: inherit; padding: 0px; position: relative;"><span style="box-sizing: inherit; outline-color: inherit;">{
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"Description"</span>: <span class="hljs-string" style="box-sizing: inherit; color: #a31515; outline-color: inherit;">"Can access RBAC permissions on the API Management resource to authorize requests in Configuration API."</span>,
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"IsCustom"</span>: <span class="hljs-literal" style="box-sizing: inherit; color: #07704a; outline-color: inherit;">true</span>,
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"Name"</span>: <span class="hljs-string" style="box-sizing: inherit; color: #a31515; outline-color: inherit;">"API Management Configuration API Access Validator Service Role"</span>,
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"Permissions"</span>: [
{
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"Actions"</span>: [
<span class="hljs-string" style="box-sizing: inherit; color: #a31515; outline-color: inherit;">"Microsoft.Authorization/denyAssignments/read"</span>,
<span class="hljs-string" style="box-sizing: inherit; color: #a31515; outline-color: inherit;">"Microsoft.Authorization/roleAssignments/read"</span>,
<span class="hljs-string" style="box-sizing: inherit; color: #a31515; outline-color: inherit;">"Microsoft.Authorization/roleDefinitions/read"</span>
],
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"NotActions"</span>: [],
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"DataActions"</span>: [],
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"NotDataActions"</span>: []
}
],
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"NotDataActions"</span>: [],
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"AssignableScopes"</span>: [
<span class="hljs-string" style="box-sizing: inherit; color: #a31515; outline-color: inherit;">"/subscriptions/{subscriptionID}"</span>
]
}
</span></code></pre><p style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">API Management Gateway Configuration Reader Role</span></p><div class="codeHeader" data-bi-name="code-header" id="code-try-1" style="border-bottom: 0px; box-sizing: content-box; color: #161616; display: flex; flex-direction: row; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 0.8rem; margin-top: 16px; min-height: 30px; outline-color: inherit;"><span class="language" style="box-sizing: inherit; flex-grow: 1; outline-color: inherit; padding: 2px 16px;">JSON</span><button class="action position-relative display-none-print" data-bi-name="copy" data-ol-has-click-handler="" style="align-items: center; appearance: button; border-left-width: 1px; box-sizing: inherit; cursor: pointer; display: flex; font-family: inherit; font-size: 12.8px; margin: 0px; outline-color: inherit; overflow: visible; padding: 2px 10px; position: relative !important;" type="button"><span aria-hidden="true" class="icon margin-right-xxs" style="align-items: center; box-sizing: inherit; display: inline-flex; height: 1em; justify-content: center; margin-inline-end: 0.5rem !important; outline-color: inherit; width: 1em;"><span class="docon docon-edit-copy" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 16px; outline-color: inherit; speak: none;"></span></span><span style="box-sizing: inherit; outline-color: inherit;">Copy</span><div aria-hidden="true" class="successful-copy-alert position-absolute right-0 top-0 left-0 bottom-0 display-flex align-items-center justify-content-center has-text-success-invert has-background-success is-transparent" style="align-items: center !important; background-color: var(--theme-success-base) !important; box-sizing: inherit; color: var(--theme-success-invert) !important; display: flex !important; inset-block: 0px; inset-inline: 0px; justify-content: center !important; opacity: 0; outline-color: var(--theme-success-invert); position: absolute !important; transition: opacity 0.5s ease-in-out 0s;"><span class="icon font-size-lg" style="align-items: center; box-sizing: inherit; display: inline-flex; font-size: 1.125rem !important; height: 1em; justify-content: center; outline-color: inherit; width: 1em;"><span class="docon docon-check-mark" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 16px; outline-color: inherit; speak: none;"></span></span></div></button></div><pre aria-label="Horizontally scrollable code" class="has-inner-focus" role="group" style="-webkit-font-smoothing: auto; border: .125rem solid var(--theme-border); box-sizing: inherit; color: #161616; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace !important; font-size: 0.875rem; hyphens: none; line-height: 1.3571; margin-bottom: 0px; margin-top: 0px; outline-color: inherit; overflow-wrap: normal; overflow: auto; padding: 1rem; tab-size: 4; word-break: normal;" tabindex="0"><code class="lang-json" data-author-content="{
"Description": "Can read self-hosted gateway configuration from Configuration API",
"IsCustom": true,
"Name": "API Management Gateway Configuration Reader Role",
"Permissions": [
{
"Actions": [],
"NotActions": [],
"DataActions": [
"Microsoft.ApiManagement/service/gateways/getConfiguration/action"
],
"NotDataActions": []
}
],
"NotDataActions": [],
"AssignableScopes": [
"/subscriptions/{subscriptionID}"
]
}
" style="border: 0px; box-sizing: inherit; direction: ltr; display: block; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 1em; line-height: 1.3571; outline-color: inherit; padding: 0px; position: relative;"><span style="box-sizing: inherit; outline-color: inherit;">{
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"Description"</span>: <span class="hljs-string" style="box-sizing: inherit; color: #a31515; outline-color: inherit;">"Can read self-hosted gateway configuration from Configuration API"</span>,
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"IsCustom"</span>: <span class="hljs-literal" style="box-sizing: inherit; color: #07704a; outline-color: inherit;">true</span>,
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"Name"</span>: <span class="hljs-string" style="box-sizing: inherit; color: #a31515; outline-color: inherit;">"API Management Gateway Configuration Reader Role"</span>,
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"Permissions"</span>: [
{
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"Actions"</span>: [],
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"NotActions"</span>: [],
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"DataActions"</span>: [
<span class="hljs-string" style="box-sizing: inherit; color: #a31515; outline-color: inherit;">"Microsoft.ApiManagement/service/gateways/getConfiguration/action"</span>
],
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"NotDataActions"</span>: []
}
],
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"NotDataActions"</span>: [],
<span class="hljs-attr" style="box-sizing: inherit; color: #0451a5; outline-color: inherit;">"AssignableScopes"</span>: [
<span class="hljs-string" style="box-sizing: inherit; color: #a31515; outline-color: inherit;">"/subscriptions/{subscriptionID}"</span>
]
}
</span></code></pre><div class="heading-wrapper" data-heading-level="h2" style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit; position: relative;"><a aria-label="Section titled: Add role assignments" class="anchor-link docon docon-link" href="https://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-enable-azure-ad#add-role-assignments" style="-webkit-font-smoothing: antialiased; background-color: rgba(0, 0, 0, 0); border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; height: 1px; inset-block-start: 1.38125rem; inset-inline-start: -1.875rem; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a><h2 class="heading-anchor" id="add-role-assignments" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin-inline-start: -1.875rem; margin: 32px 0px 12px; outline-color: inherit; padding-inline-start: 1.875rem; padding: 0px;">Add role assignments</h2></div><div class="heading-wrapper" data-heading-level="h3" style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit; position: relative;"><a aria-label="Section titled: Assign API Management Configuration API Access Validator Service Role" class="anchor-link docon docon-link" href="https://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-enable-azure-ad#assign-api-management-configuration-api-access-validator-service-role" style="-webkit-font-smoothing: antialiased; background-color: rgba(0, 0, 0, 0); border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; height: 1px; inset-block-start: 1.1375rem; inset-inline-start: -1.875rem; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a><h3 class="heading-anchor" id="assign-api-management-configuration-api-access-validator-service-role" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin-inline-start: -1.875rem; margin: 30px 0px 18px; outline-color: inherit; padding-inline-start: 1.875rem; padding: 0px;">Assign API Management Configuration API Access Validator Service Role</h3></div><p style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">Assign the API Management Configuration API Access Validator Service Role to the managed identity of the API Management instance. For detailed steps to assign a role, see <a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-portal" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Assign Azure roles using the portal</a>.</p><ul style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Scope: The resource group or subscription in which the API Management instance is deployed</li><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Role: API Management Configuration API Access Validator Service Role</li><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Assign access to: Managed identity of API Management instance</li></ul><div class="heading-wrapper" data-heading-level="h3" style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit; position: relative;"><a aria-label="Section titled: Assign API Management Gateway Configuration Reader Role" class="anchor-link docon docon-link" href="https://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-enable-azure-ad#assign-api-management-gateway-configuration-reader-role" style="-webkit-font-smoothing: antialiased; background-color: rgba(0, 0, 0, 0); border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; height: 1px; inset-block-start: 1.1375rem; inset-inline-start: -1.875rem; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a><h3 class="heading-anchor" id="assign-api-management-gateway-configuration-reader-role" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin-inline-start: -1.875rem; margin: 30px 0px 18px; outline-color: inherit; padding-inline-start: 1.875rem; padding: 0px;">Assign API Management Gateway Configuration Reader Role</h3></div><div class="heading-wrapper" data-heading-level="h4" style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit; position: relative;"><a aria-label="Section titled: Step 1: Register Azure AD app" class="anchor-link docon docon-link" href="https://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-enable-azure-ad#step-1-register-azure-ad-app" style="-webkit-font-smoothing: antialiased; background-color: rgba(0, 0, 0, 0); border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; height: 1px; inset-block-start: 0.975rem; inset-inline-start: -1.875rem; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a><h4 class="heading-anchor" id="step-1-register-azure-ad-app" style="box-sizing: inherit; font-size: clamp(1.125rem, 13.2632px + 0.986842vw, 1.5rem); line-height: 1.3; margin-inline-start: -1.875rem; margin: 36px 0px 6px; outline-color: inherit; padding-inline-start: 1.875rem; padding: 0px;">Step 1: Register Azure AD app</h4></div><p style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">Create a new Azure AD app. For steps, see <a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Create an Azure Active Directory application and service principal that can access resources</a>. This app will be used by the self-hosted gateway to authenticate to the API Management instance.</p><ul style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Generate a <a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#option-3-create-a-new-client-secret" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">client secret</a></li><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Take note of the following application values for use in the next section when deploying the self-hosted gateway: application (client) ID, directory (tenant) ID, and client secret</li></ul><div class="heading-wrapper" data-heading-level="h4" style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit; position: relative;"><a aria-label="Section titled: Step 2: Assign API Management Gateway Configuration Reader Service Role" class="anchor-link docon docon-link" href="https://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-enable-azure-ad#step-2-assign-api-management-gateway-configuration-reader-service-role" style="-webkit-font-smoothing: antialiased; background-color: rgba(0, 0, 0, 0); border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; height: 1px; inset-block-start: 0.975rem; inset-inline-start: -1.875rem; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a><h4 class="heading-anchor" id="step-2-assign-api-management-gateway-configuration-reader-service-role" style="box-sizing: inherit; font-size: clamp(1.125rem, 13.2632px + 0.986842vw, 1.5rem); line-height: 1.3; margin-inline-start: -1.875rem; margin: 36px 0px 6px; outline-color: inherit; padding-inline-start: 1.875rem; padding: 0px;">Step 2: Assign API Management Gateway Configuration Reader Service Role</h4></div><p style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><a data-linktype="relative-path" href="https://learn.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal#assign-a-role-to-the-application" style="background-color: rgba(0, 0, 0, 0); box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Assign</a> the API Management Gateway Configuration Reader Service Role to the app.</p><ul style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Scope: The API Management instance (or resource group or subscription in which it's deployed)</li><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Role: API Management Gateway Configuration Reader Role</li><li style="box-sizing: inherit; list-style: disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;">Assign access to: Azure AD app</li></ul><div class="heading-wrapper" data-heading-level="h2" style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit; position: relative;"><a aria-label="Section titled: Deploy the self-hosted gateway" class="anchor-link docon docon-link" href="https://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-enable-azure-ad#deploy-the-self-hosted-gateway" style="-webkit-font-smoothing: antialiased; background-color: rgba(0, 0, 0, 0); border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-numeric: normal; height: 1px; inset-block-start: 1.38125rem; inset-inline-start: -1.875rem; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a><h2 class="heading-anchor" id="deploy-the-self-hosted-gateway" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin-inline-start: -1.875rem; margin: 32px 0px 12px; outline-color: inherit; padding-inline-start: 1.875rem; padding: 0px;">Deploy the self-hosted gateway</h2></div><p style="background-color: white; box-sizing: inherit; color: #161616; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">Deploy the self-hosted gateway to docker, using below env.conf file</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="background-color: #cccccc;"> <span style="font-family: georgia;">config.service.endpoint=<apimname>.configuration.azure-api.net</span></span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="background-color: #cccccc; font-family: georgia;">config.service.auth=azureAdApp</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="background-color: #cccccc; font-family: georgia;">config.service.auth.azureAd.tenantId=<your tenand id></span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="background-color: #cccccc; font-family: georgia;">config.service.auth.azureAd.clientId=<client id></span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="background-color: #cccccc; font-family: georgia;">config.service.auth.azureAd.clientSecret=<client secret></span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="background-color: #cccccc; font-family: georgia;">gateway.name=<gatewayname></span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="background-color: #cccccc; font-family: georgia;">runtime.deployment.artifact.source=Azure Portal</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="background-color: #cccccc; font-family: georgia;">runtime.deployment.mechanism=Docker</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="background-color: #cccccc; font-family: georgia;"><br /></span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="background-color: white; font-family: georgia;">Check gateway working. On apim gateway, you should be able to see the number of instances connected. In my case 2 instances connected through self hosted gateway in docker.</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="background-color: white; font-family: georgia;"></span></p><div class="separator" style="clear: both; text-align: center;"><span style="background-color: white; font-family: georgia;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgQYVyx7chGXv0vZB95N-kztc4EIpnzsEcAbMGO0Oqkly0L8aBvVxUJKDzRC_lxc5JOny9LK93zjGAqyk2Vfx8TL-xNKw2-NUh4r8SCo39q-zurqn-6L9b1xOFpznYKdPLot973gnPGndGDD5qfWWr5Jivws3xezp7A-7oslSjgdWyY2lMp0rnd6cGfjSs" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="50" data-original-width="645" height="25" src="https://blogger.googleusercontent.com/img/a/AVvXsEgQYVyx7chGXv0vZB95N-kztc4EIpnzsEcAbMGO0Oqkly0L8aBvVxUJKDzRC_lxc5JOny9LK93zjGAqyk2Vfx8TL-xNKw2-NUh4r8SCo39q-zurqn-6L9b1xOFpznYKdPLot973gnPGndGDD5qfWWr5Jivws3xezp7A-7oslSjgdWyY2lMp0rnd6cGfjSs" width="320" /></a></span></div><span style="background-color: white; font-family: georgia;"><br /><br /></span><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-32415021953698552792023-02-28T03:06:00.001-08:002023-02-28T03:06:10.492-08:00Azure Cosmos DB- optimize your data distribution with hierarchical partition keys<p> <span style="background-color: white; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px;">Hierarchical partition keys are now available in private preview for the Azure Cosmos DB Core (SQL) API. With hierarchical partition keys, also known as sub-partitioning, you can now</span><span style="background-color: white; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px;"> </span><span style="box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; font-weight: bolder;">natively partition your container with up to three levels of partition keys</span><span style="background-color: white; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px;">. This enables more optimal partitioning strategies for multi-tenant scenarios or workloads that would otherwise use synthetic partition keys. Instead of having to choose a single partition key – which often leads to performance trade-offs – you can now use up to three keys to further sub-partition your data, enabling more optimal data distribution and higher scale.</span></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">For example, if you have a scenario with 1000 tenants of varying sizes and use a synthetic partition key of TenantId_UserId, you can now natively set TenantId and UserId as your hierarchical partition keys.</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">Behind the scenes, Azure Cosmos DB will automatically distribute your data among physical partitions such that a logical partition prefix (e.g. Tenant) can exceed 20GB of storage<span style="box-sizing: border-box; font-weight: bolder;">.</span> In addition, queries that target a prefix of the full partition key path are efficiently routed to the subset of relevant physical partitions.</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"> </p><h2 id="example-scenario" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI"; font-size: 1.75rem; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;">Example scenario<a aria-labelledby="example-scenario" class="linkicon" href="https://devblogs.microsoft.com/cosmosdb/hierarchical-partition-keys-private-preview/#example-scenario" style="background-color: transparent; box-sizing: border-box; color: #005da6; font-size: 16px; margin-left: 10px; opacity: 0; text-decoration-line: none; word-break: break-word;"><i aria-hidden="true" class="fabric-icon fabric-icon--Link" style="box-sizing: border-box;"></i></a></h2><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">Suppose you have a multi-tenant scenario where you store event (for example, login, clickstream, payment, etc) information for users in each tenant. Some tenants are very large with thousands of users, while the majority are smaller with a few users.</p><p style="background-color: white; box-sizing: border-box; font-family: Consolas; font-size: 9pt; margin: 0in 0in 0in 0.375in; word-break: break-word;"><span style="box-sizing: border-box; font-size: 12pt;">{</span></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: Consolas; font-size: 9pt; margin: 0in 0in 0in 0.375in; word-break: break-word;"><span style="box-sizing: border-box; font-size: 12pt;"><span style="box-sizing: border-box; color: black;"> </span><span style="box-sizing: border-box; color: #a31515;">“id”</span><span style="box-sizing: border-box; color: black;">: </span><span style="box-sizing: border-box; color: #0451a5;">“8eec87e2-2bed-4417-96a6-b2a4b9fbeedc”</span><span style="box-sizing: border-box; color: black;">,</span></span></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: Consolas; font-size: 9pt; margin: 0in 0in 0in 0.375in; word-break: break-word;"><span style="box-sizing: border-box; font-size: 12pt;"><span style="box-sizing: border-box; color: black;"> </span><span style="box-sizing: border-box; color: #a31515;">“EventId”</span><span style="box-sizing: border-box; color: black;">: </span><span style="box-sizing: border-box; color: #0451a5;">“8eec87e2-2bed-4417-96a6-b2a4b9fbeedc”</span><span style="box-sizing: border-box; color: black;">,</span></span></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: Consolas; font-size: 9pt; margin: 0in 0in 0in 0.375in; word-break: break-word;"><span style="box-sizing: border-box; font-size: 12pt;"><span style="box-sizing: border-box; color: black;"> </span><span style="box-sizing: border-box; color: #a31515;">“EventType”</span><span style="box-sizing: border-box; color: black;">: </span><span style="box-sizing: border-box; color: #0451a5;">“Login”</span><span style="box-sizing: border-box; color: black;">,</span></span></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: Consolas; font-size: 9pt; margin: 0in 0in 0in 0.375in; word-break: break-word;"><span style="box-sizing: border-box; font-size: 12pt;"><span style="box-sizing: border-box; color: black;"> </span><span style="box-sizing: border-box; color: #a31515;">“UserId”</span><span style="box-sizing: border-box; color: black;">: </span><span style="box-sizing: border-box; color: #0451a5;">“Marjolaine_Mayer14”</span><span style="box-sizing: border-box; color: black;">,</span></span></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: Consolas; font-size: 9pt; margin: 0in 0in 0in 0.375in; word-break: break-word;"><span style="box-sizing: border-box; font-size: 12pt;"><span style="box-sizing: border-box; color: black;"> </span><span style="box-sizing: border-box; color: #a31515;">“Date”</span><span style="box-sizing: border-box; color: black;">: </span><span style="box-sizing: border-box; color: #0451a5;">“2020-08-25”</span><span style="box-sizing: border-box; color: black;">,</span></span></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: Consolas; font-size: 9pt; margin: 0in 0in 0in 0.375in; word-break: break-word;"><span style="box-sizing: border-box; font-size: 12pt;"><span style="box-sizing: border-box; color: black;"> </span><span style="box-sizing: border-box; color: #a31515;">“TenantId”</span><span style="box-sizing: border-box; color: black;">: </span><span style="box-sizing: border-box; color: #0451a5;">“Microsoft”</span><span style="box-sizing: border-box; color: black;">,</span></span></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: Consolas; font-size: 9pt; margin: 0in 0in 0in 0.375in; word-break: break-word;"><span style="box-sizing: border-box; font-size: 12pt;"><span style="box-sizing: border-box; color: black;"> </span><span style="box-sizing: border-box; color: #a31515;">“Timestamp”</span><span style="box-sizing: border-box; color: black;">: </span><span style="box-sizing: border-box; color: #0451a5;">“2020-08-25T16:18:58.3724648-07:00”</span></span></p><p style="background-color: white; box-sizing: border-box; font-family: Consolas; font-size: 9pt; margin: 0in 0in 0in 0.375in; word-break: break-word;"><span style="box-sizing: border-box; font-size: 12pt;">}</span></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"> </p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">We have these operations as part of our data access pattern:</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"><span style="box-sizing: border-box; font-weight: bolder;">Write operations</span></p><ul style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px;"><li style="box-sizing: border-box;">Insert data for each login event</li></ul><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"><span style="box-sizing: border-box; font-weight: bolder;">Read operations</span></p><ul style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px;"><li style="box-sizing: border-box;">Get all data for a particular tenant</li><li style="box-sizing: border-box;">Get all data for a particular user in a tenant</li><li style="box-sizing: border-box;">Read a single event for a user in a tenant</li></ul><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"> </p><h3 id="what-should-our-partition-key-be" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI"; font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;">What should our partition key be?<a aria-labelledby="what-should-our-partition-key-be" class="linkicon" href="https://devblogs.microsoft.com/cosmosdb/hierarchical-partition-keys-private-preview/#what-should-our-partition-key-be" style="background-color: transparent; box-sizing: border-box; color: #005da6; font-size: 16px; margin-left: 10px; opacity: 0; text-decoration-line: none; word-break: break-word;"><i aria-hidden="true" class="fabric-icon fabric-icon--Link" style="box-sizing: border-box;"></i></a></h3><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">Let’s look at our options when we are only able to choose one partition key. Then, we’ll see how we can use hierarchical partition keys to achieve an optimal partitioning strategy.</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">As a refresher, Azure Cosmos DB distributes your data across logical and physical partitions based on your partition key to enable horizontal scaling. As data gets written, Azure Cosmos DB uses the hash of the partition key value to determine which logical and physical partition the data lives on.</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">In the following diagrams, the purple boxes represent a physical partition, and the blue boxes represent a logical partition. The scope of the diagram is for a single container.</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"> </p><h4 id="option-1-partition-by-tenantid" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI"; font-size: 1.25rem; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;">Option 1: Partition by TenantId<a aria-labelledby="option-1-partition-by-tenantid" class="linkicon" href="https://devblogs.microsoft.com/cosmosdb/hierarchical-partition-keys-private-preview/#option-1-partition-by-tenantid" style="background-color: transparent; box-sizing: border-box; color: #005da6; font-size: 16px; margin-left: 10px; opacity: 0; text-decoration-line: none; word-break: break-word;"><i aria-hidden="true" class="fabric-icon fabric-icon--Link" style="box-sizing: border-box;"></i></a></h4><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">When we partition by TenantId, queries for a tenant or a user in a tenant are efficient, single partition queries. However, if a single TenantId grows very large, it will hit the 20GB storage limit for logical partition, so this partition key strategy will not scale. In addition, because some tenants may have more requests than others, this can lead to a hot partition.</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"><a data-featherlight="image" href="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_by_tenantId_diagram.png" style="background-color: transparent; box-sizing: border-box; color: #005da6; word-break: break-word;"><img alt="Diagram of partitions when partition key is TenantId" class="alignnone size-full wp-image-3267 lazyloaded" data-src="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_by_tenantId_diagram.png" data-srcset="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_by_tenantId_diagram.png 1280w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_by_tenantId_diagram-300x169.png 300w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_by_tenantId_diagram-1024x576.png 1024w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_by_tenantId_diagram-768x432.png 768w" decoding="async" height="720" sizes="(max-width: 1280px) 100vw, 1280px" src="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_by_tenantId_diagram.png" srcset="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_by_tenantId_diagram.png 1280w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_by_tenantId_diagram-300x169.png 300w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_by_tenantId_diagram-1024x576.png 1024w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_by_tenantId_diagram-768x432.png 768w" style="border-style: none; box-sizing: border-box; cursor: zoom-in; height: auto; max-width: 100%; vertical-align: middle;" width="1280" /></a></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"> </p><h4 id="option-2-synthetic-key-with-tenantid_userid" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI"; font-size: 1.25rem; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;">Option 2: Synthetic key with TenantId_UserId<a aria-labelledby="option-2-synthetic-key-with-tenantid_userid" class="linkicon" href="https://devblogs.microsoft.com/cosmosdb/hierarchical-partition-keys-private-preview/#option-2-synthetic-key-with-tenantid_userid" style="background-color: transparent; box-sizing: border-box; color: #005da6; font-size: 16px; margin-left: 10px; opacity: 0; text-decoration-line: none; word-break: break-word;"><i aria-hidden="true" class="fabric-icon fabric-icon--Link" style="box-sizing: border-box;"></i></a></h4><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">To add more cardinality to our key, we can use a synthetic key, combining TenantId and UserId. Typically, this is done by creating a new property in our document, for example, “partitionKey” and modifying our application logic to fill this value with our synthetic value. While we can ensure that we can write more than 20GB of data per tenant, we now have a trade-off where queries by TenantId are always cross partition, unless we are able to include all users, which is typically not feasible. In general, the application and query complexity has increased.</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"><a data-featherlight="image" href="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_with_synthetic_diagram.jpg" style="background-color: transparent; box-sizing: border-box; color: #005da6; word-break: break-word;"><img alt="Image partition with synthetic diagram" class="alignnone size-full wp-image-3268 lazyloaded" data-src="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_with_synthetic_diagram.jpg" data-srcset="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_with_synthetic_diagram.jpg 1280w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_with_synthetic_diagram-300x169.jpg 300w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_with_synthetic_diagram-1024x576.jpg 1024w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_with_synthetic_diagram-768x432.jpg 768w" decoding="async" height="720" sizes="(max-width: 1280px) 100vw, 1280px" src="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_with_synthetic_diagram.jpg" srcset="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_with_synthetic_diagram.jpg 1280w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_with_synthetic_diagram-300x169.jpg 300w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_with_synthetic_diagram-1024x576.jpg 1024w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/partition_with_synthetic_diagram-768x432.jpg 768w" style="border-style: none; box-sizing: border-box; cursor: zoom-in; height: auto; max-width: 100%; vertical-align: middle;" width="1280" /></a></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"> </p><h4 id="new-partition-using-hierarchical-partition-keys" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI"; font-size: 1.25rem; line-height: 1.2; margin-bottom: 0.5rem; margin-top: 0px;">New: Partition using hierarchical partition keys<a aria-labelledby="new-partition-using-hierarchical-partition-keys" class="linkicon" href="https://devblogs.microsoft.com/cosmosdb/hierarchical-partition-keys-private-preview/#new-partition-using-hierarchical-partition-keys" style="background-color: transparent; box-sizing: border-box; color: #005da6; font-size: 16px; margin-left: 10px; opacity: 0; text-decoration-line: none; word-break: break-word;"><i aria-hidden="true" class="fabric-icon fabric-icon--Link" style="box-sizing: border-box;"></i></a></h4><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">With hierarchical partition keys, we can set the partition key to be TenantId, then UserId. If we believe the combination of a single TenantId and UserId will exceed 20GB, we could use a 3<span style="box-sizing: border-box; font-size: 12.75px; line-height: 0; position: relative; top: -0.5em; vertical-align: baseline;">rd</span> key – e.g. set to something like id or EventId – to add more granularity.</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">This allows us to have more than 20GB of data for a single tenant, as the system handles adding more partitions as our data per tenant grows. We are now able to have up to 20GB of data for each TenantId, UserId combination. As a result, it is now possible for a single Tenant’s data to span multiple physical partitions.</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">At the same time, our queries will still be efficient. All queries that target a single tenant will be efficiently routed to the subset of partitions the data is on, avoiding the full cross-partition fanout query that was required when using the synthetic partition key strategy. For example, in the below diagram, queries that filtered to TenantId = “Fabrikam” would be routed only to partitions 1 and 2.</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;">To achieve these benefits, all we need to do is specify the hierarchical partition key settings upon container creation and ensure these keys exist in all documents. Azure Cosmos DB will take care of the underlying data distribution and query routing.</p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"><a data-featherlight="image" href="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/hierarchicalpartitionkey_diagram.png" style="background-color: transparent; box-sizing: border-box; color: #005da6; word-break: break-word;"><img alt="Image hierarchicalpartitionkey diagram" class="alignnone size-full wp-image-3266 lazyloaded" data-src="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/hierarchicalpartitionkey_diagram.png" data-srcset="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/hierarchicalpartitionkey_diagram.png 1280w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/hierarchicalpartitionkey_diagram-300x169.png 300w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/hierarchicalpartitionkey_diagram-1024x576.png 1024w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/hierarchicalpartitionkey_diagram-768x432.png 768w" decoding="async" height="720" sizes="(max-width: 1280px) 100vw, 1280px" src="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/hierarchicalpartitionkey_diagram.png" srcset="https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/hierarchicalpartitionkey_diagram.png 1280w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/hierarchicalpartitionkey_diagram-300x169.png 300w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/hierarchicalpartitionkey_diagram-1024x576.png 1024w, https://devblogs.microsoft.com/cosmosdb/wp-content/uploads/sites/52/2021/08/hierarchicalpartitionkey_diagram-768x432.png 768w" style="border-style: none; box-sizing: border-box; cursor: zoom-in; height: auto; max-width: 100%; vertical-align: middle;" width="1280" /></a></p><p style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Segoe UI", "Segoe UI Web Regular", "Segoe UI Regular WestEuropean", "Segoe UI", Tahoma, Arial, Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 17px; margin-bottom: 1rem; margin-top: 0px; word-break: break-word;"> </p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-88225113044632159072023-02-28T00:11:00.001-08:002023-02-28T03:06:32.686-08:00Azure Cosmos DB- Partition key reached maximum size of 20 GB<h5 style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 1.75rem; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;">Issue</h5><p><span style="background-color: white; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px;">The partition key is the concept of defining uniqueness and improving performance. Most databases with large amounts of data or frequently accessed data should have certain unique and categorical information defined. This information will help read or update the data in bulk. However, this information is very lightly taken, and most clients complain about higher data consumption or unusable categorization of data resulting in higher transactions. Both scenarios can add a significant cloud costs if managed incorrectly. I have had an experience where there was no unique information defined for many containers in COSMOS DB. It was frequently accessed, thus the client paid thousands of dollars in transactions. They also experienced latency issues getting data from several containers, resulting in poor application performance.</span></p><p><span style="background-color: white; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px;"><br /></span></p><h5 style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 1.75rem; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;">Solution</h5><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">Azure recommends certain practices to create a partition key. In addition, there are key points to consider when defining a partition key. But before we talk about partition keys, it is essential to understand the types of partitions and their significance.</p><h2 style="background-color: white; box-sizing: inherit; color: #cc3300; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-weight: 400; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;">Types of Partitions</h2><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">Partitioning in Azure Cosmos DB is used to divide and categorize similar items into different containers called partitions. This approach gives the system flexibility and the ability to maintain and scale as required systemically. Also, it provides a streamlined approach to querying and using data within the application.</p><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">There are two types of partitions: 1) Logical Partitions and 2) Physical Partitions.</p><h4 style="background-color: white; box-sizing: inherit; color: #004d71; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 1.15rem; font-weight: 400; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;">Logical Partition</h4><div class="imageborder" style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px 0px 20px; padding: 0px; text-align: center;"><img alt="Logical Partition" height="379" loading="lazy" src="https://www.mssqltips.com/tipimages2/7406_cosmos-db-partition-key-best-practices.001.png" style="box-sizing: inherit; display: inline-block; height: auto; max-width: 100%; vertical-align: middle;" width="840" /></div><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">A Logical Partition is a partition where a set of items has the same partition key. In other words, this partition is created based on what data category we would like to look at. Let's use the example of car manufacturing. What if we select the cars to be partitioned by car brand type (Ferrari, Ford, Honda, Mercedes, etc.)? This might be a good choice, but it also might not be. A point to remember is that we should choose a partition that never changes. The simple reason is to define a set/subset which can be grouped logically that will have the same type of actions performed. Defining a logical partition is a key design decision for the partition key.</p><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">A logical partition can grow up to 20GB and have a throughput limit of 10,000 Request Units (RU) per second. This is limited because each logical partition is mapped to a "Physical Partition", and each Physical Partition can only have a maximum of 10,000 RUs.</p><h4 style="background-color: white; box-sizing: inherit; color: #004d71; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 1.15rem; font-weight: 400; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;">Physical Partition</h4><div class="imageborder" style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px 0px 20px; padding: 0px; text-align: center;"><img alt="Physical Partition" height="450" loading="lazy" src="https://www.mssqltips.com/tipimages2/7406_cosmos-db-partition-key-best-practices.002.png" style="box-sizing: inherit; display: inline-block; height: auto; max-width: 100%; vertical-align: middle;" width="840" /></div><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">Azure Cosmos DB scales containers by distributing data in multiple physical partitions. Azure Cosmos DB completely manages physical partitions. Usually, it is scaled automatically. One or more logical partitions can be mapped to a single partition. So, it is correct to say, "One physical partition can have one or more Logical partitions, but one Logical partition will always be mapped to one and only one Physical Partition."</p><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">There is no limit to the number of physical partitions; however, one single physical partition can only be a maximum of 50GB. Also, as stated earlier, each partition can have a throughput of 10,000 RUs per second max. In case the limit of storage increases to more than 50GB, the system will automatically scale and create a new partition. Azure uses hash-based partitioning to partition logical partitions across the physical partitions. Thus, all the logic mappings to the physical partition will also be automatically mapped.</p><h2 style="background-color: white; box-sizing: inherit; color: #cc3300; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-weight: 400; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;">Defining a Partition Key</h2><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">Now that we have a fair understanding of partitions, let's discuss the best practices and considerations for defining a partition key.</p><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">There are three main factors to consider: 1) uniformity, 2) uniqueness, and 3) distinctness.</p><h4 style="background-color: white; box-sizing: inherit; color: #004d71; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 1.15rem; font-weight: 400; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;">Uniformity - Even Distribution</h4><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">Below are two examples of even and uneven storage distribution:</p><div class="imageborder" style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px 0px 20px; padding: 0px; text-align: center;"><img alt="Uniformity" height="499" loading="lazy" src="https://www.mssqltips.com/tipimages2/7406_cosmos-db-partition-key-best-practices.003.png" style="box-sizing: inherit; display: inline-block; height: auto; max-width: 100%; vertical-align: middle;" width="840" /></div><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">As we know, logical partitions are made up of partition keys. The example above shows the sales of mobile devices. On the left, we can see that the partition key was kept as "model type", which leads to containers like Apple, Samsung, and Google (and more).</p><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">However, the challenge is that Apple and Samsung have much higher sales than Google. This may also be called "Hot Partitions". Again, this type of container will change if we further drill down into the containers as per the location database. This will result in uneven data distribution in containers, which may lead to latency and limit throughput utilization. For example, I want to get information about a device, but since the partitions are not evenly distributed, it will result in higher throughput and, in return, higher costs to the customer.</p><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">Thus, it would be much preferable to use a partition key like "Mobile Identification Number (MIN)", which will help distribute data evenly in logical and physical partitions.</p><h4 style="background-color: white; box-sizing: inherit; color: #004d71; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 1.15rem; font-weight: 400; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;">Uniqueness – High Cardinality</h4><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">A partition key with high cardinality will result in better distribution and scalability of data. Below are two examples of high and low cardinality:</p><div class="imageborder" style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px 0px 20px; padding: 0px; text-align: center;"><img alt="This image shows results of high and low uniqueness" height="568" loading="lazy" src="https://www.mssqltips.com/tipimages2/7406_cosmos-db-partition-key-best-practices.004.png" style="box-sizing: inherit; display: inline-block; height: auto; max-width: 100%; vertical-align: middle;" width="840" /></div><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">The image on the left shows that we have a database full of users where the partition key has been defined as "First Name". Now, it is very likely there are many first names like "John" or "Mark". If the partitions are made based on first names, they produce uneven and less functional partitions.</p><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">Instead of first name, let's say we define the partition key as "email address", which is usually unique to each user, and in this way, it ensures that each item has a unique identifier. This will create uniform partitions at scaling times and have an even distribution of logical partitions in containers.</p><h4 style="background-color: white; box-sizing: inherit; color: #004d71; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 1.15rem; font-weight: 400; line-height: 1.4; margin: 0.2rem 0px 0.5rem; padding: 0px; text-rendering: optimizelegibility;">Distinctness – Spread Request Units</h4><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">A partition key must also be created considering the spread of the request unit's distinctness. In other words, a partition key should not result in a logical partition turning into a hot partition at any given time. Below is one example showing hot partitions due to lack of distinctness.</p><div class="imageborder" style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; margin: 0px 0px 20px; padding: 0px; text-align: center;"><img alt="This image shows high and low distinctness results" height="489" loading="lazy" src="https://www.mssqltips.com/tipimages2/7406_cosmos-db-partition-key-best-practices.005.png" style="box-sizing: inherit; display: inline-block; height: auto; max-width: 100%; vertical-align: middle;" width="840" /></div><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">The above example shows the airport landing data stored in a database. In the image, the partition key used is "Flight time". Now we know several factors affect an increase in the landing zone time. It is possible that some heavy Boeing flights may come early during the normal season but is usually late during holidays and in harsh weather seasons like winter/monsoon. This kind of distribution will neither give even distribution nor provide any uniqueness to perform deep analysis. Instead, it will end up creating complex normalization and analysis processes. A better partition key could be "Flight Identification No", which is unique to each flight. Even if the flight changes, the identification will still be applicable and can be easily used to track the data.</p><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">Thus, these three factors help to understand and design partition keys to distribute Azure Cosmos DB data.</p><p style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; margin: 0px 0px 1.25rem; padding: 0px; text-rendering: optimizelegibility;">There are also a few considerations to think about:</p><ul style="background-color: white; box-sizing: inherit; color: #222222; font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.6; list-style-position: outside; margin: 0px 0px 1.25rem 1.1rem; padding: 0px;"><li style="box-sizing: inherit; margin: 0px; padding: 0px;">In the case of heavy-duty read data, the partition key can be defined on the metadata, which is used for most filtering in queries. For example, an employee database would ideally be partitioned using the employee ID. But sometimes, organizations also have an employee code that is more frequently used than the ID. In such cases, it is better to use the employee code, which will help to query faster and index the items.</li><li style="box-sizing: inherit; margin: 0px; padding: 0px;">Synthetic keys are also good practice when defining partition keys. A synthetic key is a key that is either created using multiple metadata (like ItemID + Employee ID) or keys using prefixes or suffixes ("ABCEMP" + employeeID). This type of key helps in various scenarios, like when one wants to create a higher scale of unique partitions, a lack of uniqueness within single metadata, or a need to distribute the partition as per specific organization policy, and so on.</li></ul>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-69273501355945458092022-02-12T23:56:00.003-08:002022-02-12T23:56:31.268-08:00Exchange Online limits<p> </p><main data-bi-name="content" dir="ltr" id="main" lang="en-us" role="main" style="background-color: white; box-sizing: inherit; color: #171717; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit; position: relative;"><div class="content " style="box-sizing: inherit; outline-color: inherit;"><h2 class="heading-anchor" id="address-book-limits" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;">Address book limits</h2><ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Address list limit</span>: The maximum number of address lists that can be created in an Exchange Online or Exchange Server 2013 organization. This number includes the default address lists in Exchange Online, such as All Contacts and All Groups.</p><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">A maximum of 20 address lists can be assigned to a single offline address book (OAB).</p></div></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Offline address book limit</span>: The maximum number of offline address books (OAB) that can be created in an Exchange Online or Exchange Server 2013 organization.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Address book policies limit</span>: The maximum number of address book policies (ABP) that be created in an Exchange Online or Exchange Server 2013 organization.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Global address lists</span>: The maximum number of global address lists (GAL) that be created in an Exchange Online or Exchange Server 2013 organization.</p></li></ul><h3 class="heading-anchor" id="address-book-limits-1" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="address-book-limits-1" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#address-book-limits-1" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Address book limits</h3><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 762.838px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">ADDRESS BOOK LIMITS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Address list limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Offline address book (OAB) limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Address book policies (ABP) limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Global address lists limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td></tr></tbody></table></div><h3 class="heading-anchor" id="address-book-limits-across-standalone-plans" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="address-book-limits-across-standalone-plans" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#address-book-limits-across-standalone-plans" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Address book limits across standalone plans</h3><div class="table-scroll-wrapper has-inner-focus" style="box-sizing: inherit; outline-color: inherit; overflow: auto hidden;"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 719.6px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">ADDRESS BOOK LIMITS ACROSS STANDALONE PLANS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Server 2013</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 2</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Kiosk</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Address list limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Offline address book (OAB) limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Address book policies (ABP) limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Global address lists limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td></tr></tbody></table></div><h2 class="heading-anchor" id="mailbox-storage-limits" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="mailbox-storage-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#mailbox-storage-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.38125rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Mailbox storage limits</h2><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">The amount of mailbox storage available is determined by the mailbox type and the user's subscription license. Administrators can reduce maximum mailbox sizes per user or globally.</p><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">Using journaling, transport rules, or auto-forwarding rules to copy messages to an Exchange Online mailbox for the purposes of archiving is not permitted. A user's archive mailbox is intended for just that user. Microsoft reserves the right to deny additional archive storage space in instances where a user's archive mailbox is used to store archive data for other users or in other cases of inappropriate use.</p></div><h3 class="heading-anchor" id="storage-limits" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="storage-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#storage-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Storage limits</h3><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 788.925px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">STORAGE LIMITS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">User mailboxes</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Archive mailboxes<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">7,8</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.5 TB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.5 TB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.5 TB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Not available<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Shared mailboxes<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">10</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50/100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2,9</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50/100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2,9</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Resource mailboxes</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3,9</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3,9</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Public folder mailboxes<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">5</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Group mailboxes</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> Each user initially receives 100 GB of storage in the archive mailbox. When auto-expanding archiving is turned on, additional storage is automatically added when the 100 GB storage capacity is reached. Additional storage space is added incrementally until the archive storage capacity reaches 1.5 TB. For more information, see MS Article <a data-linktype="absolute-path" href="https://docs.microsoft.com/en-us/microsoft-365/compliance/autoexpanding-archiving" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Overview of auto-expanding archiving</a>.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span> To access a shared mailbox, a user must have an Exchange Online license, but the shared mailbox doesn't require a separate license. Without a license, shared mailboxes are limited to 50 GB. To increase the size limit to 100 GB, the shared mailbox must be assigned an Exchange Online Plan 2 license. If Exchange Online Plan 1 license with an Exchange Online Archiving add-on license is assigned, this will let you enable auto-expanding archiving for additional archive storage capacity. Similarly, if you want to place a shared mailbox on litigation hold, the shared mailbox must have an Exchange Online Plan 2 license or an Exchange Online Plan 1 license with an Exchange Online Archiving add-on license. If you want to apply advanced features such as Microsoft Defender for Office 365, Advanced eDiscovery, or automatic retention policies, the shared mailbox must be licensed for those feature(s).<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span> Resource mailboxes don't require a license. However, without a license, resource mailboxes are limited to 50 GB. To increase the mailbox size, an E3 or E5 license must be assigned. This will increase the mailbox to 100 GB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span> Archive mailboxes aren't included in Exchange Online Kiosk. However, they can be purchased as an add-on through Exchange Online Archiving. For more information, see the <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="relative-path" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-archiving-service-description/exchange-online-archiving-service-description" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Exchange Online Archiving service description</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">5</span> The default individual public folder size limit is 2GB. You can change the size limit individually on each folder or change the default size limit defined in the organization’s configuration to make the change effective for all folders in the organization. Note: Maximum recommended size of individual public folder is 25 GB. If an individual public folder grows above 25 GB, it will have issues during, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="external" href="https://techcommunity.microsoft.com/t5/exchange-team-blog/how-exchange-online-automatically-cares-for-your-public-folder/ba-p/2050019" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">auto-split process</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span> You are limited to 1,000 public folder mailboxes, and the maximum total size of all public folder mailboxes is 100 TB. Hierarchy Serving mailboxes are limited to 100 public folder mailboxes.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">7</span> Archive mailboxes can only be used to archive mail for a single user or entity (such as a shared mailbox) for which a license has been applied. Using archive mailboxes as a means of storing mail from multiple users or entities is prohibited. For example, an IT administrator can't create a shared mailbox and have users copy it (through the Cc or Bcc field, or through a transport rule) for the explicit purpose of archiving. Note that a shared mailbox that multiple people use does not actually store email for those individual users. Multiple users have access, and they send email as the shared mailbox. Therefore, the only emails stored in the shared mailbox are those sent to or from it, <em style="box-sizing: inherit; outline-color: inherit;">as</em> the shared mailbox.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">8</span> If you have created a retention policy in Exchange Online, messages will be automatically moved to a user's archive mailbox only if the user's primary mailbox is larger than 10 MB. The retention policy will not run automatically for mailboxes that are smaller than 10 MB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">9</span> Shared and resource mailboxes don't require a license. However, without a license, these mailboxes are limited to 50 GB. To increase the mailbox size, an E3 or E5 license must be assigned. This will increase the mailbox to 100 GB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">10</span> By default, shared mailboxes have an associated active user account with a system-generated (unknown) password. To block sign-in for the associated shared mailbox account, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="absolute-path" href="https://docs.microsoft.com/en-us/office365/admin/email/create-a-shared-mailbox#block-sign-in-for-the-shared-mailbox-account" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Block sign-in for the shared mailbox account</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p></div><h3 class="heading-anchor" id="storage-limits-across-standalone-plans" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="storage-limits-across-standalone-plans" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#storage-limits-across-standalone-plans" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Storage limits across standalone plans</h3><div class="table-scroll-wrapper has-inner-focus" style="box-sizing: inherit; outline-color: inherit; overflow: auto hidden;"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 719.6px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">STORAGE LIMITS ACROSS STANDALONE PLANS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Server 2013</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 2</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Kiosk</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">User mailboxes</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Archive mailboxes<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">8,9</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.5 TB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Not available<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">5</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Shared mailboxes<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">11</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3,10</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Resource mailboxes</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4,10</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Public folder mailboxes</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">7</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">7</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Not available</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Group mailboxes</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> This is the default mailbox size for Exchange Server 2013 organizations. Administrators can change this value for their organization. There isn't a maximum storage limit for on-premises mailboxes.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span> Each user initially receives 100 GB of storage in the archive mailbox. When auto-expanding archiving is turned on, additional storage is automatically added when the 100 GB storage capacity is reached. Additional storage space is added incrementally until the archive storage capacity reaches 1.5 TB. For more information, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="absolute-path" href="https://docs.microsoft.com/en-us/microsoft-365/compliance/autoexpanding-archiving" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Overview of auto-expanding archiving</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">. See the </span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="external" href="https://go.microsoft.com/fwlink/?LinkId=509914" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Microsoft 365 Roadmap</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> for details about availability for auto-expanding archiving.</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span> To access a shared mailbox, a user must have an Exchange Online license, but the shared mailbox doesn't require a separate license. Without a license, shared mailboxes are limited to 50 GB. To increase the size limit to 100 GB, the shared mailbox must be assigned an Exchange Online Plan 2 license. The Exchange Online Plan 1 license with an Exchange Online Archiving add-on license will increase the size of the Archive mailbox. This will also let you enable auto-expanding archiving for up to 1.5 TB of archive storage capacity. Similarly, if you want to place a shared mailbox on litigation hold, the shared mailbox must have an Exchange Online Plan 2 license or an Exchange Online Plan 1 license with an Exchange Online Archiving add-on license. If you want to apply advanced features such as Microsoft Defender for Office 365, Advanced eDiscovery, or automatic retention policies, the shared mailbox must be licensed for those feature(s).<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span> Resource mailboxes don't require a license. However, without a license, resource mailboxes are limited to 50 GB. To increase the mailbox size, an Exchange Online Plan 2 license must be assigned. This will increase the mailbox to 100 GB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">5</span> Archive mailboxes aren't included in Exchange Online Kiosk. However, they can be purchased as an add-on through Exchange Online Archiving. For more information, please see the <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="relative-path" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-archiving-service-description/exchange-online-archiving-service-description" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Exchange Online Archiving service description</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span> This is the default mailbox size for Microsoft Exchange Server 2013 organizations. Administrators can change this value for their organization. In Exchange Server 2013, you are limited to 100 public folder mailboxes, and the maximum total size of all public folder mailboxes is 50 TB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">7</span> In Exchange Online, you are limited to 1,000 public folder mailboxes, and the maximum total size of all public folder mailboxes is 50 TB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">8</span> Archive mailboxes can only be used to archive mail for a single user or entity for which a license has been applied. Using an archive mailbox as a means to store mail from multiple users or entities is prohibited. For example, IT administrators can't create shared mailboxes and have users copy (through the Cc or Bcc field, or through a transport rule) a shared mailbox for the explicit purpose of archiving.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">9</span> If you have created a retention policy in Exchange Online, messages will be automatically moved to a user's archive mailbox only if the user's primary mailbox is larger than 10 MB. The retention policy will not run automatically for mailboxes that are smaller than 10 MB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">10</span> Shared and resource mailboxes don't require a license. However, without a license, these mailboxes are limited to 50 GB. To increase the mailbox size, an Exchange Online Plan 2 license must to be assigned. This will increase the mailbox to 100 GB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">11</span> By default, shared mailboxes have an associated active user account with a system-generated (unknown) password. To block sign-in for the associated shared mailbox account, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article </span><a data-linktype="absolute-path" href="https://docs.microsoft.com/en-us/office365/admin/email/create-a-shared-mailbox#block-sign-in-for-the-shared-mailbox-account" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Block sign-in for the shared mailbox account</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p></div><h2 class="heading-anchor" id="capacity-alerts" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="capacity-alerts" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#capacity-alerts" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.38125rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Capacity alerts</h2><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">Exchange Online provides three kinds of notifications when a user's mailbox is nearing, or at, capacity:</p><ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Warning</span>: The user receives an email warning that the mailbox is approaching the maximum size limit. This warning is intended to encourage users to delete unwanted mail.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Prohibit Send</span>: The user receives a prohibit-send notification email when the mailbox size limit is reached. The user can't send new messages until enough email is deleted to bring the mailbox below the size limit.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Prohibit Send/Receive</span>: Exchange Online rejects any incoming mail when the mailbox size limit is reached, and sends a non-delivery report (NDR) to the sender. The sender has the option to try resending the mail later. To receive messages again, the user must delete email until the mailbox is below the size limit.</p></li></ul><h3 class="heading-anchor" id="capacity-alerts-1" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="capacity-alerts-1" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#capacity-alerts-1" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Capacity alerts</h3><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 796.112px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">CAPACITY ALERTS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">49 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">49 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">49 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">49 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">98 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">98 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.96 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Prohibit Send</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">49.5 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">49.5 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">49.5 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">49.5 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">99 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">99 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.98 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Prohibit Send/Receive</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 GB</td></tr></tbody></table></div><h3 class="heading-anchor" id="capacity-alerts-across-standalone-plans" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="capacity-alerts-across-standalone-plans" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#capacity-alerts-across-standalone-plans" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Capacity alerts across standalone plans</h3><div class="table-scroll-wrapper has-inner-focus" style="box-sizing: inherit; outline-color: inherit; overflow: auto hidden;"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 719.6px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">CAPACITY ALERTS ACROSS STANDALONE PLANS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Server 2013</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 2</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Kiosk</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.9 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">49 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">98 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.96 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Prohibit Send</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">49.5 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">99 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.98 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Prohibit Send/Receive</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2.3 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 GB</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> This is the default value for Exchange Server 2013 organizations. Administrators can change this value for their organization.</p></div><h2 class="heading-anchor" id="mailbox-folder-limits" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="mailbox-folder-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#mailbox-folder-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.38125rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Mailbox folder limits</h2><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">These limits are intended to limit mailboxes to known dimensions that can be supported in Exchange Online. The goal of these limits is to prevent an infinite number of mailbox items per folder, an infinite number of folders per mailbox, or an infinite number of public folders per Exchange Online organization. For practical purposes, mailbox folder limits are in effect unlimited and sufficient to support most Exchange Online mailboxes and on-premises mailboxes that are migrated to Exchange Online.</p><ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum number of messages per mailbox folder</span>: Specifies the maximum number of messages for a mailbox folder. New messages can't be delivered or saved in a folder when this limit is reached.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Warning for number of messages per mailbox folder</span>: Specifies the number of messages that a mailbox folder can hold before Exchange Online sends a warning message to the mailbox owner. When this quota is reached, warning messages are sent once a day.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum number of messages per folder in the Recoverable Items folder</span>: Specifies the maximum number of messages that can be contained in each folder in the Recoverable Items folder. When a folder exceeds this limit, it can't store new messages. For example, if the Deletions folder in the Recoverable Items folder has exceeded the message count limit and the mailbox owner attempts to permanently delete items from their mailbox, the deletion will fail.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Warning for number of messages per folder in the Recoverable Items folder</span>: Specifies the number of messages that each folder in the Recoverable Items folder can hold before Exchange Online logs an event to the application event log.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum number of subfolders per mailbox folder</span>: Specifies the maximum number of subfolders that can be created in a mailbox folder. The mailbox owner won't be able to create a new subfolder when this limit is reached.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Warning for number of subfolders per mailbox folder</span>: Specifies the number of subfolders that can be created in a mailbox folder before Exchange Online sends a warning message to the mailbox owner. When this quota is reached, warning messages are sent once a day.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum folder hierarchy depth</span>: Specifies the maximum number of levels in the folder hierarchy of a mailbox. The mailbox owner won't be able to create another level in the folder hierarchy of the mailbox folder when this limit is reached.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Warning for folder hierarchy depth</span>: Specifies the number of levels in the folder hierarchy of a mailbox folder that can be created before Exchange Online sends a warning message to the mailbox owner. When this quota is reached, warning messages are sent once a day.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum number of public folders</span>: Specifies the maximum number of public folders in the complete public folder hierarchy. When this limit is reached, existing public folders must be deleted before new public folders can be created.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum number of subfolders per public folder</span>: Specifies the maximum number of subfolders that can be created in a public folder. New subfolders can't be created in a public folder when this limit is reached.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Warning for number of subfolders per public folder</span>: Specifies the number of subfolders that can be created in a public folder before Exchange Online sends a warning message to the folder owner. If no owner exists, warning messages are sent to users with Owner permissions. When this quota is reached, warning messages are sent once a day.</p></li></ul><h3 class="heading-anchor" id="mailbox-folder-limits-1" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="mailbox-folder-limits-1" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#mailbox-folder-limits-1" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Mailbox folder limits</h3><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 788.162px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">MAILBOX FOLDER LIMITS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of messages per mailbox folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 million</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning for number of messages per mailbox folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900,000</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of messages per folder in the Recoverable Items folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3 million</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Storage quota for Recoverable Items folder in primary mailbox (not on hold)</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Storage quota for Recoverable Items folder in primary mailbox (on hold)</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Storage quota for Recoverable Items folder in archive mailbox (not on hold)</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.5 TB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.5 TB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Storage quota for Recoverable Items folder in archive mailbox (on hold)</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.5 TB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.5 TB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning for number of messages per folder in the Recoverable Items folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2.75 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2.75 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2.75 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2.75 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2.75 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2.75 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2.75 million</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of subfolders per mailbox folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning for number of subfolders per mailbox folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum folder hierarchy depth</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning for folder hierarchy depth</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of public folders</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">500,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">500,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">500,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">500,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">500,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">500,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Not available</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of subfolders per public folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Not available</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning for number of subfolders per public folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">9000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Not available</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> This is the storage quota for the Recoverable Items folder, not the quota for the entire archive mailbox. The storage quota for the archive mailbox is 1.5 TB for users with an Exchange Online Plan 2 license or for users who have both an Exchange Online Plan 1 and an Exchange Online Archiving license. For information about increasing the Recoverable Items quota, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="absolute-path" href="https://docs.microsoft.com/en-us/microsoft-365/compliance/increase-the-recoverable-quota-for-mailboxes-on-hold" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Increase the Recoverable Items quota for mailboxes on hold</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span> The initial storage quota for the Recoverable Items folder in an archive mailbox is 100 GB. When auto-expanding archiving is turned on, additional storage is automatically added when the storage capacity for the Recoverable Items folder is reached. For more information, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="absolute-path" href="https://docs.microsoft.com/en-us/microsoft-365/compliance/autoexpanding-archiving" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Overview of auto-expanding archiving</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">. See the </span><a data-linktype="external" href="https://go.microsoft.com/fwlink/?LinkId=509914" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Microsoft 365 Roadmap</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> for details about availability of auto-expanding archiving. </span><span style="background-color: var(--theme-info-background); box-sizing: inherit; color: var(--theme-text); font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> This is a store limit; it is one of the mailbox shape constraints. There can be only 10,000 direct child folders for any given parent. This applies regardless of migration or other clients creating folders.</span></p></div><h3 class="heading-anchor" id="mailbox-folder-limits-across-standalone-plans" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="mailbox-folder-limits-across-standalone-plans" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#mailbox-folder-limits-across-standalone-plans" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Mailbox folder limits across standalone plans</h3><div class="table-scroll-wrapper has-inner-focus" style="box-sizing: inherit; outline-color: inherit; overflow: auto hidden;"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 719.6px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">MAILBOX FOLDER LIMITS ACROSS STANDALONE PLANS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Server 2013</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 2</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Kiosk</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of messages per mailbox folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 million</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning for number of messages per mailbox folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900,000</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of messages per folder in the Recoverable Items folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3 million</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Storage quota for Recoverable Items folder in primary mailbox (not on hold)</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Storage quota for Recoverable Items folder in primary mailbox (on hold)</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Storage quota for Recoverable Items folder in archive mailbox (not on hold)</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Storage quota for Recoverable Items folder in archive mailbox (on hold)</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 GB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.5 TB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1.5 TB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning for number of messages per folder in the Recoverable Items folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2.75 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2.75 million</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2.75 million</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of subfolders per mailbox folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning for number of subfolders per mailbox folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum folder hierarchy depth</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning for folder hierarchy depth</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of public folders</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1,000,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Not available</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of subfolders per public folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">N/A</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1,000</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Not available</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Warning for number of subfolders per public folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">N/A</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">900</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Not available</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> Microsoft recommends no more than 1,000,000 messages per mailbox folder.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span> This is the storage quota for the Recoverable Items folder, not the quota for the entire archive mailbox. The storage quota for the archive mailbox is 1.5 TB for users with an Exchange Online Plan 2 license or for users who have both an Exchange Online Plan 1 and an Exchange Online Archiving license. For information about increasing the Recoverable Items quota, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="absolute-path" href="https://docs.microsoft.com/en-us/microsoft-365/compliance/increase-the-recoverable-quota-for-mailboxes-on-hold" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Increase the Recoverable Items quota for mailboxes on hold</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span> The initial storage quota for the Recoverable Items folder in an archive mailbox is 100 GB. When auto-expanding archiving is turned on, additional storage is automatically added when the storage capacity for the Recoverable Items folder is reached. For more information, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="absolute-path" href="https://docs.microsoft.com/en-us/microsoft-365/compliance/autoexpanding-archiving" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Overview of auto-expanding archiving</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">. See the </span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="external" href="https://go.microsoft.com/fwlink/?LinkId=509914" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Microsoft 365 Roadmap</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> for details about availability of auto-expanding archiving.</span></p></div><h2 class="heading-anchor" id="message-limits" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="message-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#message-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.38125rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Message limits</h2><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">The following limits are applied to every email message.</p><ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Message size limit</span>: Message size limits are necessary to prevent large messages from blocking delivery of other messages and affecting service performance for all users. These limits include attachments, and apply organization-wide to all messages (inbound, outbound, and internal). Messages larger than this limit will not be delivered, and the sender will receive a non-delivery report (NDR). While message size limits can be configured up, down, or on a per-user basis, administrators can also create transport rules to limit the maximum size of any individual attachment. To learn more, see </p><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">Some email clients may have lower message size limits or may limit the size of an individual file attachment to a value that is less than the Exchange Online message size limit.<span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span> <a data-linktype="external" href="https://go.microsoft.com/fwlink/?linkid=2144144" style="background-color: transparent; box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Microsoft supports larger email messages</a>.</p></div></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Message header size limit</span>: Specifies the maximum size of all message header fields in a message. The current limit is 256 KB. If the total size of all message headers exceeds 256 KB, Exchange Online will reject the message with error "552 5.3.4 Header size exceeds fixed maximum size." The size of the message body or attachments isn't considered. Because the header fields are plain text, the size of the header is determined by the number of characters in each header field and by the total number of header fields. Each text character consumes 1 byte.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Subject length limit</span>: The maximum number of text characters allowed in the subject line of an email message.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">File attachments limit</span>: The maximum number of file attachments allowed in an email message. Even if the total size of all the file attachments doesn't violate the message size limit, there is still a limit on how many attachments are allowed in the message. This limit is controlled by the multipart message limit.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">File attachment size limit</span>: The maximum file size of a single attachment.</p><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">This is the maximum file size of a single attachment. Individual client programs, including Outlook on the web, may limit the size of attachments below this maximum. Exchange ActiveSync does not implement attachment size limits on an individual attachment basis. The total size of all attachments to an Exchange ActiveSync message must be less than the message size limit.</p></div></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Multipart message limit</span>: The maximum number of message body parts that are allowed in a MIME multipart message. This limit also controls the maximum number of file attachments that are allowed in a message.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Embedded message depth limit</span>: The maximum number of forwarded email messages that are allowed in an email message.</p></li></ul><h3 class="heading-anchor" id="message-limits-1" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="message-limits-1" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#message-limits-1" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Message limits</h3><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 867.425px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">MESSAGE LIMITS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message size limit - Outlook</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message size limit - OWA</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,3</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message size limit - Outlook for Mac</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message size limit - migration</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,4</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message size limit - Outlook for iOS and Android</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Size limit for encrypted messages (for subscribers using Office 365 Message Encryption with new capabilities)<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">5</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Size limit for encrypted messages (for subscribers using Office 365 Message Encryption legacy version)<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">5</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Subject length limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">255 characters</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">255 characters</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">255 characters</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">255 characters</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">255 characters</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">255 characters</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">255 characters</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">File attachments limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 attachments</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 attachments</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 attachments</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 attachments</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 attachments</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 attachments</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 attachments</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">File attachment size limit - Outlook</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">File attachment size limit - OWA</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3,6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3,6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3,6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3,6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3,6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3,6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3,6</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">File attachment size limit - Outlook for Mac</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">File attachment size limit - New Outlook for Mac</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">File attachment size limit - Outlook for iOS and Android</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Multipart message limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 parts</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 parts</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 parts</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 parts</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 parts</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 parts</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 parts</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Embedded message depth limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 embedded messages</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 embedded messages</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 embedded messages</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 embedded messages</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 embedded messages</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 embedded messages</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 embedded messages</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> The default maximum message size for Microsoft mailboxes is 25 MB. Microsoft administrators can specify a custom limit between 1 MB and 150 MB. However, the size of message you can send or receive also depends on what your email client or solution supports. For more information about customizing the maximum allowed message size for your organization, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="external" href="https://go.microsoft.com/fwlink/?linkid=2144144" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Microsoft supports larger email messages</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span> You can send and receive up to 150 MB messages between users (where the message never leaves the Microsoft datacenters). Messages that are routed outside of the Microsoft datacenters are subject to an additional 33% translation encoding increase, in which case the maximum message size is 112 MB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span> OWA accounts for the possibility that your message may be subject to the 33% encoding increase and restricts the size of message you can send to 25% less than the configured setting. For example, if you customize your settings for a 100 MB maximum message size, you can send messages no larger than 75 MB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span> The size of messages to be moved into Exchange Online are computed by Exchange Online. Versions of Exchange prior to Exchange Server 2013 may report a smaller item size. This limit applies to move-based migrations using any supported Exchange Mailbox Replication Service. Other migration methods (Cutover, Staged, IMAP, PST) and other third-party tools are limited by the general message size limit.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">5</span> For information about OME with new capabilities, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="external" href="https://support.office.com/article/7ff0c040-b25c-4378-9904-b1b50210d00e" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Set up new Office 365 Message Encryption capabilities built on top of Azure Information Protection</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span> Classic file attachments have a limit of 112 MB, but OneDrive file attachments can be up to 2 GB.</p></div><h3 class="heading-anchor" id="message-limits-across-standalone-options" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="message-limits-across-standalone-options" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#message-limits-across-standalone-options" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Message limits across standalone options</h3><div class="table-scroll-wrapper has-inner-focus" style="box-sizing: inherit; outline-color: inherit; overflow: auto hidden;"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 719.6px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">MESSAGE LIMITS ACROSS STANDALONE OPTIONS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Server 2013</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 2</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Kiosk</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message size limit - Outlook</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message size limit - OWA</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1,2</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message size limit - Outlook for Mac</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td aria-label="No value" style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;"></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message size limit - migration</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Not applicable</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">5</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">5</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">5</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message size limit - Outlook for iOS and Android</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Size limit for encrypted messages (for subscribers using Office 365 Message Encryption with new capabilities)<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Size limit for encrypted messages (for subscribers using Office 365 Message Encryption legacy version)<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Subject length limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">255 characters</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">255 characters</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">255 characters</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">255 characters</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">File attachments limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1024 attachments<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 attachments</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 attachments</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 attachments</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">File attachment size limit - Outlook</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">35 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">File attachment size limit - OWA</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">35 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">112 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">File attachment size limit - Outlook for Mac</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">35 MB<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">150 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">35 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">File attachment size limit - Outlook for iOS and Android</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Multipart message limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 parts</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 parts</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 parts</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250 parts</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Embedded message depth limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 embedded messages</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 embedded messages</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 embedded messages</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 embedded messages</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> Microsoft administrators can specify a custom limit between 1 MB and 150 MB. However, the size of message you can send or receive also depends on what your email client or solution supports. For more information about customizing the maximum allowed message size for your organization, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="external" href="https://go.microsoft.com/fwlink/?linkid=2144144" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Microsoft supports larger email messages</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span> You can send and receive up to 150 MB messages between users (where the message never leaves the Microsoft datacenters). Messages that are routed outside of the Microsoft datacenters are subject to an additional 33% translation encoding increase, in which case the maximum message size is 112 MB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span> OWA accounts for the possibility that your message may be subject to the 33% encoding increase and restricts the size of message you can send to 25% less than the configured setting. For example, if you customize your settings for a 100 MB maximum message size, you can send messages no larger than 75 MB.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span> This is the default limit for Exchange Server 2013 organizations. Administrators can change this value for their organization.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">5</span> The size of messages to be moved into Exchange Online are computed by Exchange Online. Versions of Exchange prior to Exchange Server 2013 may report a smaller item size.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">6</span> For information about OME with new capabilities, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="external" href="https://support.office.com/article/7ff0c040-b25c-4378-9904-b1b50210d00e" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Set up new Office 365 Message Encryption capabilities built on top of Azure Information Protection</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p></div><h2 class="heading-anchor" id="receiving-and-sending-limits" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="receiving-and-sending-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#receiving-and-sending-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.38125rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Receiving and sending limits</h2><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">Receiving and sending limits are applied to combat spam and mass-mailing worms or viruses. These limits help to protect the health of our systems and keep our users safe.</p><h3 class="heading-anchor" id="receiving-limits" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="receiving-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#receiving-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Receiving limits</h3><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">Receiving limits apply to the number of messages that an Exchange Online user, group, or public folder can receive.</p><ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Receiving limit:</span> This limit applies to the number of messages per hour <em style="box-sizing: inherit; outline-color: inherit;">from any and all sources</em>. This includes messages from internal senders, messages from the internet, and messages from on-premises servers. When the receiving limit has been exceeded on a mailbox, messages sent to the mailbox will be returned to the sender in a non-delivery report (also known as an NDR or bounce message) stating that the mailbox has exceeded the maximum delivery threshold. After an hour, the limit will refresh and the mailbox will be able to receive messages.</li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Sender-recipient pair limit:</span> This limit applies to the number of messages per hour from <em style="box-sizing: inherit; outline-color: inherit;">a single sender</em>. This is set to a ratio of the overall receiving limit to protect against single-sender mail storms.</li></ul><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 773.65px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">RECEIVING LIMITS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Messages received</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3,600 messages per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3,600 messages per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3,600 messages per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3,600 messages per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3,600 messages per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3600 messages per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3600 messages per hour</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Messages received from single sender</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33% of messages received</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33% of messages received</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33% of messages received</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33% of messages received</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33% of messages received</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33% of messages received</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">33% of messages received</td></tr></tbody></table></div><h3 class="heading-anchor" id="sending-limits" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="sending-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#sending-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Sending limits</h3><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">Sending limits apply to the number of recipients, number of messages, and number of recipients per message that a user can send from their Exchange Online account.</p><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">For distribution groups stored in an organization's address book, the group is counted as one recipient. For distribution groups stored in the Contacts folder of a mailbox, the members of the group are counted individually.</p></div><ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Recipient rate limit</span>: To discourage the delivery of unsolicited bulk messages, Exchange Online has recipient limits that prevent users and applications from sending large volumes of email. These limits are applied per-user to all outbound and internal messages.</p><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">Exchange Online customers who need to send legitimate bulk commercial email (for example, customer newsletters) should use third-party providers that specialize in these services.</p></div></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Recipient limit</span>: This is the maximum number of recipients allowed in the To:, Cc:, and Bcc: fields for a single email message.</p><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">For the purposes of the recipient rate limit and the recipient limit, a distribution group that is stored in the organization's shared address book counts as one recipient. In a personal distribution list, each recipient is counted separately.</p></div></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Recipient proxy address limit</span>: The recipient proxy address limit is the maximum number of aliases (email addresses) that a recipient mailbox can have.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Message rate limit</span>: Message rate limits determine how many messages a user can send from their Exchange Online account within a specified period of time. This limit helps prevent over consumption of system resources by a single sender. If a user submits messages at a rate that exceeds the limit via SMTP client submission, the messages will be rejected and the client will need to retry.</p></li></ul><h4 class="heading-anchor" id="sending-limits-1" style="box-sizing: inherit; font-size: clamp(1.125rem, 13.2632px + 0.986842vw, 1.5rem); line-height: 1.3; margin: 36px 0px 6px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="sending-limits-1" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#sending-limits-1" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 0.975rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Sending limits</h4><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 896.037px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">SENDING LIMITS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Recipient rate limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000 recipients per day</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000 recipients per day</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000 recipients per day</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000 recipients per day</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000 recipients per day</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000 recipients per day</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000 recipients per day</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Recipient limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Customizable up to 1000 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Customizable up to 1000 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Customizable up to 1000 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Customizable up to 1000 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Customizable up to 1000 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Customizable up to 1000 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Customizable up to 1000 recipients</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Recipient proxy address limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message rate limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 messages per minute</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 messages per minute</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 messages per minute</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 messages per minute</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 messages per minute</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 messages per minute</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 messages per minute</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> After the recipient rate limit is reached, messages can't be sent from the mailbox until the number of recipients that were sent messages in the past 24 hours drops below the limit. For example, a user sends an email message to 5000 recipients at 09:00 AM, then sends another message to 2500 recipients at 10:00 AM, and then sends another message to 2500 recipients at 11:00 AM, hitting the limit of 10,000 messages. The user won't be able to send messages again until 09:00 AM the next day.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span> You can customize recipient limits between 1 and 1000 for existing mailboxes and for new mailboxes that will be created in the future. Edit the recipient limit on existing mailboxes individually or in bulk using the Exchange admin center and customize the default setting for new mailboxes via Remote PowerShell. For more information, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article </span><a data-linktype="external" href="https://techcommunity.microsoft.com/t5/exchange-team-blog/customizable-recipient-limits-in-office-365/ba-p/1183228" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Customizable recipient limits in Office 365</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">3</span> These numbers can vary slightly since the limit is based on number of characters so the number of email addresses will vary depending on how long they are. As a rule of thumb, it is safer to assume that the limit of smtp addresses in ProxyAddresses is approximately 300 addresses to leave room for future growth of the object and its populated attributes.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">4</span> When outbound message volumes surpass the message rate limit, any excess in message submission will be throttled and successively carried over to the following minutes. This will typically not block the sender's account, but Exchange Online isn't suited to accommodate bulk-mailing scenarios. For this use case, options 2 and 3 <a data-linktype="absolute-path" href="https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">here</a> are recommended instead.</p></div><h4 class="heading-anchor" id="sending-limits-across-standalone-options" style="box-sizing: inherit; font-size: clamp(1.125rem, 13.2632px + 0.986842vw, 1.5rem); line-height: 1.3; margin: 36px 0px 6px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="sending-limits-across-standalone-options" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#sending-limits-across-standalone-options" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 0.975rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Sending limits across standalone options</h4><div class="table-scroll-wrapper has-inner-focus" style="box-sizing: inherit; outline-color: inherit; overflow: auto hidden;"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 719.6px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">SENDING LIMITS ACROSS STANDALONE OPTIONS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Server 2013</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 2</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Kiosk</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Recipient rate limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000 recipients per day<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000 recipients per day<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10,000 recipients per day<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Recipient limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000 recipients<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1000 recipients</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Recipient proxy address limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">400</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">400</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">400</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">400</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Message rate limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 messages per minute</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 messages per minute</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 messages per minute</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> This is the default limit for Exchange Server 2013 organizations. Administrators can change this value for their organization.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span> After the recipient rate limit is reached, messages can't be sent from the mailbox until the number of recipients that were sent messages in the past 24 hours drops below the limit. For example, a user sends an email message to 5000 recipients at 09:00 AM, then sends another message to 2500 recipients at 10:00 AM, and then sends another message to 2500 recipients at 11:00 AM, hitting the limit of 10,000 messages. The user won't be able to send messages again until 09:00 AM the next day.</p></div><h2 class="heading-anchor" id="reporting-and-message-trace-limits" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="reporting-and-message-trace-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#reporting-and-message-trace-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.38125rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Reporting and message trace limits</h2><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">For reporting and message trace limits, see the "Reporting and message trace data availability and latency" section in <a data-linktype="absolute-path" href="https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/reporting-and-message-trace-in-exchange-online-protection" style="background-color: transparent; box-sizing: inherit; cursor: pointer; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Reporting and message trace in Exchange Online Protection</a>.</p><h2 class="heading-anchor" id="retention-limits" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="retention-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#retention-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.38125rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Retention limits</h2><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">These limits control the length of time that items in specific folders in the Inbox can be accessed.</p><ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Deleted Items folder retention period</span>: The maximum number of days that items can remain in the Deleted Items folder before they're automatically removed.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Retention period for items removed from the Deleted Items folder</span>: The maximum numbers of days that items removed from the Deleted Items folder are retained before they're permanently deleted.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Junk Email folder retention period</span>: The maximum number of days that items can remain in the Junk Email folder before they're automatically removed.</p></li></ul><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">A soft-deleted user mailbox—a mailbox deleted using the Microsoft 365 admin center or the Remove-Mailbox cmdlet in Exchange Online PowerShell and that is still in the Azure Active Directory recycle bin—is recoverable within 30 days.</p></div><h3 class="heading-anchor" id="retention-limits-1" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="retention-limits-1" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#retention-limits-1" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Retention limits</h3><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 772.775px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">RETENTION LIMITS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Deleted Items folder retention period</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Retention period for items removed from the Deleted Items folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">14 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">14 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">14 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">14 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">14 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">14 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">14 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Junk Email folder retention period</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 days</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> This is the default value for Microsoft 365 organizations. Administrators can change this value to a maximum of 30 days for mailboxes in their organization.</p></div><h3 class="heading-anchor" id="retention-limits-across-standalone-options" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="retention-limits-across-standalone-options" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#retention-limits-across-standalone-options" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Retention limits across standalone options</h3><div class="table-scroll-wrapper has-inner-focus" style="box-sizing: inherit; outline-color: inherit; overflow: auto hidden;"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 719.6px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">RETENTION LIMITS ACROSS STANDALONE OPTIONS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Server 2013</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 2</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Kiosk</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Deleted Items folder retention period</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Retention period for items removed from the Deleted Items folder</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">14 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">14 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">14 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">14 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Junk Email folder retention period</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 years<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">30 days</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> This is the default limit. Administrators can change this value for their organization.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span> This is the default value for Exchange Online organizations. Administrators can change this value to a maximum of 30 days for mailboxes in their organization.</p></div><h2 class="heading-anchor" id="distribution-group-limits" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="distribution-group-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#distribution-group-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.38125rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Distribution group limits</h2><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">These limits apply to distribution groups in your organization's shared address book.</p><ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum number of distribution group members</span>: The total recipient count is determined after distribution group expansion.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Limit sending messages to large distribution groups</span>: Distribution groups that contain the number of members specified by this limit must have delivery management or message approval options configured. Delivery management specifies a list of senders who are allowed to send messages to the distribution group. Message approval specifies one or more moderators who must approve all messages sent to the distribution group.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum message size for large distribution groups</span>: If a message is sent to 5,000 or more recipients, the message size can't exceed this limit. If the message size exceeds the limit, the message isn't delivered, and the sender receives a non-delivery report (NDR).</p></li></ul><h3 class="heading-anchor" id="distribution-group-limits-1" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="distribution-group-limits-1" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#distribution-group-limits-1" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Distribution group limits</h3><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 784.237px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">DISTRIBUTION GROUP LIMITS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of distribution group members<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000 members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000 members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000 members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000 members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000 members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000 members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000 members</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Limit sending messages to large distribution group</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5,000 or more members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5,000 or more members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5,000 or more members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5,000 or more members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5,000 or more members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5,000 or more members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5,000 or more members</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum message size for distribution groups with 5,000 to 99,999 members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">25 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum message size for distribution groups with 100,000 members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of distribution group owners</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of groups a user can create</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300,000<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> If you are using Azure Active Directory DirSync, the maximum number of distribution group members that you can synchronize from your on-premises Active Directory to Azure Active Directory is 15,000. If you are using Azure AD Connect, that number is 50,000.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span> This limit also applies to admins.</p></div><h3 class="heading-anchor" id="distribution-group-limits-across-standalone-options" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="distribution-group-limits-across-standalone-options" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#distribution-group-limits-across-standalone-options" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Distribution group limits across standalone options</h3><div class="table-scroll-wrapper has-inner-focus" style="box-sizing: inherit; outline-color: inherit; overflow: auto hidden;"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 719.6px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">DISTRIBUTION GROUP LIMITS ACROSS STANDALONE OPTIONS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Server 2013</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 2</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Kiosk</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of distribution group members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000 members<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000 members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000 members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100,000 members</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Limit sending messages to large distribution group</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5,000 or more members<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5,000 or more members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5,000 or more members</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5,000 or more members</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of distribution group owners</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of groups a user can create</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">250<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span></td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> This is the default limit for Exchange Server 2013 organizations. Administrators can change this value for their organization.<br style="box-sizing: inherit; outline-color: inherit;" /><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">2</span> This limit also applies to admins.</p></div><h2 class="heading-anchor" id="journal-transport-and-inbox-rule-limits" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="journal-transport-and-inbox-rule-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#journal-transport-and-inbox-rule-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.38125rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Journal, transport, and inbox rule limits</h2><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">The following list includes limits that apply to journal rules, transport rules (also known as organization-wide rules), and limits that apply to inbox rules. Inbox rules are set up by individual users and applied to messages sent and received by the individual user's mailbox.</p><ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum number of journal rules</span>: The maximum number of journal rules that can exist in the organization.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum number of transport rules</span>: The maximum number of rules that can exist in the organization.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum size of an individual transport rule</span>: The maximum number of characters that can be used in a single transport rule. The characters are used in the conditions, exceptions, and actions.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Character limit for all regular expressions used in all transport rules</span>: The total number of characters used including all the regular expressions in all the transport rule conditions and exceptions in the organization. You can have a few rules that use long and complex regular expressions, or you can have many rules that use simple regular expressions.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Scanning limits for attachment content</span>: The transport rule conditions let you examine the content of message attachments, but only the first 1 MB of the text extracted from an attachment is inspected. This 1 MB limit refers to the text extracted from the attachment, not to the file size of the attachment. For example, a 2 MB file may contain less than 1 MB of text, so all of the text would be inspected.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum number of recipients added to a message by all transport rules</span>: When a message is acted on by different transport rules, only a finite number of recipients can be added to the message. After the limit is reached, any remaining recipients aren't added to the message. Also, distribution groups can't be added to a message by a transport rule.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Forwardee limit</span>: The maximum number of recipients that can be configured for an inbox or transport rule with a redirecting action. If a rule is configured to redirect a message to more than this number of recipients, the rule won't be applied and any message that satisfies the rule condition won't be redirected to any of the recipients listed in the rule.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Number of times a message is redirected</span>: The number of times a message will be redirected, forwarded, or replied to automatically based on Inbox rules. For example, User A has an Inbox rule that redirects messages to User B, based on the sender. User B has an Inbox rule that forwards messages to User C based on keywords in the subject line. If a message satisfies both of these conditions, the message is only sent to User B; it's not forwarded to User C because only one redirection is allowed. In this case, the message is dropped without sending a non-delivery report (NDR) to User B indicating that the message wasn't delivered to User C. We make use of the X-MS-Exchange-Inbox-Rules-Loop header to determine the number of times that a message was redirected. This header remains also across Exchange organizational boundaries.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Number of times a message is redirected by transport rules</span>: The number of times a message will be redirected based on transport rules. For example, Exchange organization Tailspin Toys has a transport rule to redirect every message that was sent to User A to User B, which is located in Exchange organization Contoso. Within Exchange organization Contoso, there is a transport rule in place to redirect every message that was sent to User B to User C, which is located in Exchange organization A. Datum Corporation. In this case, the message is dropped and a non-delivery report (NDR) with status code and reject message <em style="box-sizing: inherit; outline-color: inherit;">550 5.7.128 TRANSPORT.RULES.RejectMessage; Transport rules loop count exceeded and message rejected</em> is sent to User A. We make use of the X-MS-Exchange-Transport-Rules-Loop header to determine the number of times that a message was redirected by transport rules. This header remains also across Exchange organizational boundaries.</p></li></ul><h3 class="heading-anchor" id="journal-transport-and-inbox-rule-limits-1" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="journal-transport-and-inbox-rule-limits-1" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#journal-transport-and-inbox-rule-limits-1" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Journal, transport, and inbox rule limits</h3><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 799.362px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">JOURNAL, TRANSPORT, AND INBOX RULE LIMITS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of journal rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of transport rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum size of an individual transport rule</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">8 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">8 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">8 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">8 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">8 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">8 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">8 KB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Character limit for all regular expressions used in all transport rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20 KB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Scanning limits for content of attachments</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 MB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 MB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of recipients added to a message by all transport rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 recipients</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Forwardee limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 recipients</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Number of times a message is redirected</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Number of times a message is redirected by transport rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Number of times a message is redirected</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Inbox rule</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">256kb<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">256kb<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">256kb<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">256kb<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">256kb<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">256kb<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">256kb<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> If a mailbox was migrated to Exchange Online, the inbox rule limit might be set to the value that is lower than the default EXO value. If that is the case, the inbox rule value can be increased. For instructions, see <span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">MS Article</span><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;"> </span><a data-linktype="absolute-path" href="https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/outlook-on-the-web/increase-the-space-used-by-inbox-rules" style="background-color: transparent; box-sizing: inherit; cursor: pointer; font-size: 1rem; font-weight: 600; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: break-word; text-decoration-line: none;">Modify the space used by Inbox rules in Exchange Online</a><span style="background-color: var(--theme-info-background); color: var(--theme-text); font-size: 1rem;">.</span></p></div><h3 class="heading-anchor" id="journal-transport-and-inbox-rule-limits-across-standalone-options" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="journal-transport-and-inbox-rule-limits-across-standalone-options" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#journal-transport-and-inbox-rule-limits-across-standalone-options" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Journal, transport, and inbox rule limits across standalone options</h3><div class="table-scroll-wrapper has-inner-focus" style="box-sizing: inherit; outline-color: inherit; overflow: auto hidden;"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 719.6px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">JOURNAL, TRANSPORT, AND INBOX RULE LIMITS ACROSS STANDALONE OPTIONS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Server 2013</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 2</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Kiosk</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of journal rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">50 rules</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of transport rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 rules</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum size of an individual transport rule</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">40 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">8 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">8 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">8 KB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Character limit for all regular expressions used in all transport rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20 KB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20 KB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of recipients added to a message by all transport rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100 recipients</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Forwardee limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 recipients</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 recipients</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Number of times a message is redirected</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">3 redirections</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Number of times a message is redirected by transport rules</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">1 redirection</td></tr></tbody></table></div><h2 class="heading-anchor" id="moderation-limits" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="moderation-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#moderation-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.38125rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Moderation limits</h2><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">These limits control the moderation settings that are used for message approval applied to distribution groups and transport rules.</p><ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum size of the arbitration mailbox</span>: If the arbitration mailbox exceeds this limit, messages that require moderation are returned to the sender in a non-delivery report (NDR).</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum number of moderators</span>: The maximum number of moderators that you can assign to a single moderated distribution group or that can be added to a message using a single transport rule. Note that you can't specify a distribution group as a moderator.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Expiration for messages waiting for moderation</span>: By default, a message waiting for moderation expires after two days, and admins cannot extend this interval. However, the processing of expired moderated messages runs every seven days. This means that a moderated message can expire at any time between two and nine days.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Maximum rate for expired moderation notification messages</span>: This limit sets the maximum number of notification messages for expired moderated messages in a one-hour period. This limit is placed on each mailbox database in the datacenter.</p></li></ul><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">During periods of heavy usage, some senders may not receive notification messages for moderated messages that have expired. However, these notifications are still discoverable using delivery reports.</p><h3 class="heading-anchor" id="moderation-limits-1" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="moderation-limits-1" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#moderation-limits-1" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Moderation limits</h3><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 858.862px;"><caption class="visually-hidden" style="border-color: var(--theme-border); border-image: initial; border-style: solid; border-width: 0px 0px 1px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); font-size: 0.8rem; font-weight: 600; height: 1px; letter-spacing: 2px; margin: -1px; outline-color: inherit; overflow-wrap: normal; overflow: hidden; padding: 1.125rem; position: absolute; text-align: right; text-transform: uppercase; width: 1px;">MODERATION LIMITS</caption><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum size of the arbitration mailbox</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of moderators</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 moderators</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 moderators</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 moderators</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 moderators</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 moderators</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 moderators</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 moderators</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Expiration for messages waiting for moderation</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 days</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum rate for expired moderation notification messages</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 expiration notifications per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 expiration notifications per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 expiration notifications per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 expiration notifications per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 expiration notifications per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 expiration notifications per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 expiration notifications per hour</td></tr></tbody></table></div><h3 class="heading-anchor" id="moderation-limits-across-standalone-options" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="moderation-limits-across-standalone-options" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#moderation-limits-across-standalone-options" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Moderation limits across standalone options</h3><div class="table-scroll-wrapper has-inner-focus" style="box-sizing: inherit; outline-color: inherit; overflow: auto hidden;"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 719.6px;"><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Server 2013</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 2</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Kiosk</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum size of the arbitration mailbox</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 GB</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 GB</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum number of moderators</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">No limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 moderators</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 moderators</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">10 moderators</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Expiration for messages waiting for moderation</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">5 days<span style="box-sizing: inherit; font-size: 10.5px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span></td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 days</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">2 days</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Maximum rate for expired moderation notification messages</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 expiration notifications per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 expiration notifications per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 expiration notifications per hour</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">300 expiration notifications per hour</td></tr></tbody></table></div><div class="alert is-info" style="background-color: var(--theme-info-background); border-radius: 6px; border: 1px solid var(--theme-info-background-glow-high-contrast); box-sizing: inherit; color: var(--theme-text); font-size: 1rem; margin-top: 1rem; outline-color: var(--theme-text); overflow-wrap: break-word; padding: 1rem; position: relative; transition: height 0.5s ease-in 0s, opacity 0.5s ease-in 0s; word-break: break-word;"><p class="alert-title" style="box-sizing: inherit; color: var(--theme-info-dark); font-weight: 600; margin: 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span aria-hidden="true" class="docon docon-status-error-outline" style="-webkit-font-smoothing: antialiased; box-sizing: inherit; direction: ltr; display: inline-block; font-family: docons; font-size: inherit; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; line-height: 16px; outline-color: inherit; speak: none; text-align: center;"></span> Note</p><p style="box-sizing: inherit; margin: 1rem 0px 0px; max-width: 100%; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-size: 12px; line-height: 0; outline-color: inherit; position: relative; top: -0.5em; vertical-align: baseline;">1</span> This is the default limit for Exchange Server 2013 organizations. Administrators can change this value for their organization.</p></div><h2 class="heading-anchor" id="exchange-activesync-limits" style="box-sizing: inherit; font-size: clamp(1.59375rem, 18.7895px + 1.39803vw, 2.125rem); line-height: 1.3; margin: 32px 0px 12px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="exchange-activesync-limits" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#exchange-activesync-limits" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.38125rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Exchange ActiveSync limits</h2><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;">The following limits apply to Microsoft Exchange ActiveSync, a client protocol that synchronizes mailbox data between mobile devices and Exchange.</p><ul style="box-sizing: inherit; list-style: none; margin: 16px 0px 16px 38px; outline-color: inherit; padding: 0px;"><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Exchange ActiveSync device limit</span>: The maximum number of Exchange ActiveSync devices per mailbox.</p></li><li style="box-sizing: inherit; list-style: outside none disc; margin: 0px; outline-color: inherit; outline-style: initial; outline-width: 0px; padding: 0px;"><p style="box-sizing: inherit; margin: 1rem 0px 0px; outline-color: inherit; overflow-wrap: break-word; padding: 0px;"><span style="box-sizing: inherit; font-weight: 600; outline-color: inherit;">Exchange ActiveSync device deletion limit</span>: The maximum number of Exchange ActiveSync devices that an Exchange administrator can delete in a single month.</p></li></ul><h3 class="heading-anchor" id="exchange-activesync-limits-1" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="exchange-activesync-limits-1" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#exchange-activesync-limits-1" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Exchange ActiveSync limits</h3><div aria-label="Horizontally scrollable data" class="table-scroll-wrapper has-inner-focus table-scroll-wrapper-scrollable" role="group" style="border: 1px solid var(--theme-border); box-sizing: inherit; margin: 1px; outline-color: inherit; overflow: auto hidden;" tabindex="0"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 779.1px;"><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Basic</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Standard</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Microsoft 365 Business Premium</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E3</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise E5</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Office 365 Enterprise F3</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Exchange ActiveSync device limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Exchange ActiveSync device deletion limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20</td></tr></tbody></table></div><h3 class="heading-anchor" id="exchange-activesync-limits-across-standalone-options" style="box-sizing: inherit; font-size: clamp(1.3125rem, 15.4737px + 1.15132vw, 1.75rem); line-height: 1.3; margin: 30px 0px 18px -1.875rem; outline-color: inherit; padding: 0px 0px 0px 1.875rem; position: relative;"><a aria-labelledby="exchange-activesync-limits-across-standalone-options" class="anchor-link docon docon-link" href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#exchange-activesync-limits-across-standalone-options" style="-webkit-font-smoothing: antialiased; background-color: transparent; border: 0px; box-sizing: inherit; clip-path: inset(50%); clip: rect(1px, 1px, 1px, 1px); cursor: pointer; direction: ltr; display: inline-block; font-family: docons; font-size: 1rem; font-variant-east-asian: normal; font-variant-numeric: normal; font-weight: 400; height: 1px; left: 0px; line-height: 16px; margin: -1px; opacity: 0; outline-color: inherit; outline-style: initial; outline-width: 0px; overflow-wrap: normal; overflow: hidden; padding: 0px; position: absolute; speak: none; text-align: center; text-decoration-line: none; top: 1.1375rem; transform: translateY(-50%) scale(1); transition: opacity 0.1s linear 0s; width: 1px;"></a>Exchange ActiveSync limits across standalone options</h3><div class="table-scroll-wrapper has-inner-focus" style="box-sizing: inherit; outline-color: inherit; overflow: auto hidden;"><table class="table" style="border-collapse: collapse; border-spacing: 0px; box-sizing: inherit; font-size: 0.875rem; outline-color: inherit; table-layout: auto; width: 719.6px;"><thead style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Feature</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Server 2013</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 1</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Plan 2</th><th style="border-bottom-style: initial; border-color: initial; border-left-style: solid; border-right-style: solid; border-top-style: initial; border-width: 0px 0px 1px; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; text-align: left; vertical-align: top;">Exchange Online Kiosk</th></tr></thead><tbody style="box-sizing: inherit; outline-color: inherit;"><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Exchange ActiveSync device limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">100</td></tr><tr style="box-sizing: inherit; outline-color: inherit;"><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">Exchange ActiveSync device deletion limit</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20</td><td style="border-bottom: 0px solid; border-left: 0px solid; border-right: 0px solid; border-top-style: solid; box-sizing: inherit; line-height: 1.5; outline-color: inherit; overflow-wrap: break-word; padding: 0.75rem 1rem; vertical-align: top;">20</td></tr></tbody></table></div></div></main><section data-bi-name="recommendations" id="recommendations-section" style="background-color: white; box-sizing: inherit; color: #171717; font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; outline-color: inherit;"><h2 class="title is-3 has-margin-top-large" style="box-sizing: inherit; font-size: 1.75rem; line-height: 1.125; margin-bottom: 1.5rem; margin-left: 0px; margin-right: 0px; margin-top: 1.5rem !important; outline-color: inherit; padding: 0px; word-break: break-word;">Credit: <a href="https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits">MS doc</a></h2></section>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-64436252665946803092022-02-12T23:48:00.001-08:002022-02-12T23:49:24.405-08:00T-SQL Commands to set cross subscription Azure SQL Server DB replication<p> Setting replication between Azure SQL databases are very important as it helps in recovering your application during any disaster. Same subscription replication is straight forward as it can be done from Azure Portal itself on the database Replica page. </p><p>In case of you would need to replicate your database to a SQL Server in a different subscription then the best way to do is the T-SQL commands . Below is the step by step to create cross subscription SQL replication.</p><p></p><p class="MsoNormal" style="margin-left: 18pt; text-indent: 36pt;"><a name="DBReplication"><b>GEO Replication Configuration <o:p></o:p></b></a></p>
<span style="mso-bookmark: DBReplication;"></span>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 54.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 54pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">Follow the below steps to
configure GEO replication (</span></span><span class="normaltextrun"><i><span face=""Lato",sans-serif" style="color: red; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">make sure the public access is enabled while executing
the below steps</span></i></span><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">)</span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; text-indent: 18pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">1) Create a privileged
login/user on both primary and secondary to be used for this setup:</span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 54.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 54pt; text-indent: 2.4pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">a. Connect to your primary Azure
SQL Server and create a login and a user on your master database using the
below script:</span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p><br /><p></p><p></p><p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #d4d0ab; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">--Primary Master Database</span></span><span class="eop"><span style="color: #d4d0ab; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">create</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> login GeoReplicationMigUser </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">with</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> password </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">=</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="normaltextrun"><span style="color: #abe338; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">'<password>'</span></span><span class="eop"><span style="color: #abe338; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="eop"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">create</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">user</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> GeoReplicationMigUser </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">for</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> login GeoReplicationMigUser</span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">alter</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> role dbmanager </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">add</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> member GeoReplicationMigUser</span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p><br /><p></p><p></p><p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">Get the created user SID and
save it:</span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">select</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">sid</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">from</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">sys</span><span style="color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">.</span><span style="color: lime; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">sql_logins</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">where</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">name</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: grey; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">=</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">'GeoReplicationMigUser'</span><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> b. On the primary database
create the required user as below:</span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #d4d0ab; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">-- primary user database</span></span><span class="eop"><span style="color: #d4d0ab; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">create</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">user</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> GeoReplicationMigUser </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">for</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> login GeoReplicationMigUser</span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">alter</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> role db_owner </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">add</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> member GeoReplicationMigUser</span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p> </o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> c. Connect to your secondary
server and create the same login and user while using the<span style="mso-spacerun: yes;"> </span>same SID you got from point A:</span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #d4d0ab; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">--Secondary Master Database</span></span><span class="eop"><span style="color: #d4d0ab; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">create</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> login GeoReplicationMigUser </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">with</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> password </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">=</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="normaltextrun"><span style="color: #abe338; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"><password></span></span><span class="normaltextrun"><span style="color: #fefefe; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">,</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> sid</span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">=0x010600000000006400000000000000001C95H41B95D9C78CFRA8578FACE37E5A</span></span><span class="eop"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">create</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">user</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> GeoReplicationMigUser </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">for</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> login GeoReplicationMigUser</span></span><span class="normaltextrun"><span style="color: #fefefe; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">;</span></span><span class="eop"><span style="color: #fefefe; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">alter</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> role dbmanager </span></span><span class="normaltextrun"><span style="color: #00e0e0; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">add</span></span><span class="normaltextrun"><span style="color: #f8f8f2; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> member GeoReplicationMigUser</span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">2) Make sure that both primary
and secondary Azure SQL servers firewall rules are configured to allow the
connection (such as the IP address of the host running SQL Server Management
Studio).</span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">3) Log in with the created user
to your <u>primary Azure SQL server</u> to add the secondary server and
configure GEO replication, by running the below script on the <u>primary master
database</u>:</span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span style="color: #d4d0ab; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";">-- Primary Master database</span></span><span class="eop"><span style="color: #d4d0ab; font-family: Consolas; font-size: 10pt; mso-bidi-font-family: "Segoe UI";"> <o:p></o:p></span></span></p>
<p class="paragraph" style="background: rgb(43, 43, 43); margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p> </o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">alter</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">database</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="background-color: #f2f2f2; font-family: Consolas; font-size: 12.6667px;">DBName </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">add</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">secondary</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">on</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">server</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">[</span><span style="background-color: #f2f2f2; font-family: Consolas; font-size: 12.6667px;">secondarydb</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">.database.windows.net]</span><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> <o:p></o:p></span></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">4) To verify the setup, access
your Azure portal, go to your primary Azure SQL database, and access <u>Replicas
blade</u> as below:</span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Calibri",sans-serif" style="color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-color-alt: windowtext; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-no-proof: yes;"><v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f">
<v:stroke joinstyle="miter">
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0">
<v:f eqn="sum @0 1 0">
<v:f eqn="sum 0 0 @1">
<v:f eqn="prod @2 1 2">
<v:f eqn="prod @3 21600 pixelWidth">
<v:f eqn="prod @3 21600 pixelHeight">
<v:f eqn="sum @0 0 1">
<v:f eqn="prod @6 1 2">
<v:f eqn="prod @7 21600 pixelWidth">
<v:f eqn="sum @8 21600 0">
<v:f eqn="prod @7 21600 pixelHeight">
<v:f eqn="sum @10 21600 0">
</v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
<v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
<o:lock aspectratio="t" v:ext="edit">
</o:lock></v:path></v:stroke></v:shapetype><v:shape alt="Graphical user interface, text, application, email
Description automatically generated" id="Picture_x0020_3" o:spid="_x0000_i1026" style="height: 134.4pt; mso-wrap-style: square; visibility: visible; width: 438.6pt;" type="#_x0000_t75">
<v:imagedata o:title="Graphical user interface, text, application, email
Description automatically generated" src="file:///C:/Users/jollgin/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png">
</v:imagedata></v:shape></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">You will notice that the
secondary database has been added and configured.</span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><b><u><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">Note</span></u></b></span><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";">: before moving to the next steps
make sure your replica has completed the seeding and is marked as
"readable" under replica status (as highlighted below): </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span class="normaltextrun"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><span face=""Segoe UI",sans-serif" style="font-size: 9pt;"><o:p></o:p></span></p>
<p class="paragraph" style="background: white; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm; margin: 0cm 0cm 0cm 36pt; vertical-align: baseline;"><span face=""Calibri",sans-serif" style="color: black; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-color-alt: windowtext; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-no-proof: yes;"><v:shape alt="Graphical user interface, application
Description automatically generated" id="Picture_x0020_2" o:spid="_x0000_i1025" style="height: 108pt; mso-wrap-style: square; visibility: visible; width: 429.6pt;" type="#_x0000_t75">
<v:imagedata o:title="Graphical user interface, application
Description automatically generated" src="file:///C:/Users/jollgin/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png">
</v:imagedata></v:shape></span><span class="eop"><span face=""Lato",sans-serif" style="color: #333333; font-size: 10.5pt; mso-bidi-font-family: "Segoe UI";"> </span></span><o:p></o:p></p>
<p class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18pt; vertical-align: baseline;"><!--[if !supportLists]--><span style="font-family: Symbol; font-size: 12pt; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-fareast-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7pt "Times New Roman";">
</span></span></span><!--[endif]--><b><span face=""Calibri Light",sans-serif" style="font-size: 12pt; mso-ascii-theme-font: major-latin; mso-bidi-theme-font: major-latin; mso-fareast-font-family: "Times New Roman"; mso-hansi-theme-font: major-latin;">Remove
Replication<o:p></o:p></span></b></p>
<p class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: 0cm; mso-add-space: auto; vertical-align: baseline;"><span face=""Segoe UI",sans-serif" style="font-size: 9pt; mso-fareast-font-family: "Times New Roman";"><o:p> </o:p></span></p>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="background: rgb(242, 242, 242); border-collapse: collapse; border: none; margin-left: 36pt; mso-background-themecolor: background1; mso-background-themeshade: 242; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;">
<tbody><tr style="height: 29.3pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;">
<td style="border: 1pt solid windowtext; height: 29.3pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt; width: 467.5pt;" valign="top" width="623">
<p class="MsoNormal" style="line-height: normal; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;"><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">ALTER</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">DATABASE</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> DBName<o:p></o:p></span></p>
<p class="MsoListParagraph" style="line-height: normal; margin: 0cm; mso-add-space: auto; vertical-align: baseline;"><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 2;"> </span></span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">REMOVE</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">SECONDARY</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">ON</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> </span><span style="color: blue; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;">server</span><span style="color: black; font-family: Consolas; font-size: 9.5pt; mso-bidi-font-family: Consolas;"> [secondarydb]</span><span face=""Segoe UI",sans-serif" style="font-size: 9pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></p>
</td>
</tr>
</tbody></table>
<p class="MsoListParagraph" style="line-height: normal; margin-bottom: 0cm; mso-add-space: auto; vertical-align: baseline;"><span face=""Segoe UI",sans-serif" style="font-size: 9pt; mso-fareast-font-family: "Times New Roman";"><o:p> </o:p></span></p><br /><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-18688639632110312832022-02-12T23:42:00.001-08:002022-02-12T23:42:05.935-08:00Azure VMSS VM Instance Status using powershell - Get-AzureRmVmssVM<p> The below powershell script helps you to check the status of VM Instances inside a Virtual Machine Scale Sets. This will check the Status whether the Instance is Running or Deallocated/Stopped as some actions will not be allowed on a deallocated instance while performing on VMSS.</p><p><br /></p><p>For Instance, I'm checking if the status is Running and then do any operation on the instance.</p><p><span style="background-color: #cccccc;">Get-AzureRmVmssVM -ResourceGroupName $nameprefix -VMScaleSetName $key | foreach { $Id = $_.InstanceId; $vmssvm = Get-AzureRmVmssVM -ResourceGroupName $nameprefix -VMScaleSetName $key -InstanceView -InstanceId $_.InstanceId; if($vmssvm.Statuses[$vmssvm.Statuses.Count-1].Code.Contains("running")){ Write-Host "vmid: " $vmssvm.Statuses[$vmssvm.Statuses.Count-1].Code}}</span></p><p><br /></p><p></p><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgLqy0Uiwty7WbiupGExCWeuZuxyMwr_2RibMMukaHUlNOg5Yxx9vUj2YHYBplbXlZV9uX_cgVchdjuqG8UGiroYgEpf0uYwBFuoVkOpqmXKjjg8RGy3VqTVXW2fYzKdoQ17VuLOb8dkb5h_rJnkrYkMQfr8xns7h32kQB32tTDPUGIahgASc4pYejA" style="margin-left: 1em; margin-right: 1em;"><img alt="" data-original-height="189" data-original-width="1896" height="80" src="https://blogger.googleusercontent.com/img/a/AVvXsEgLqy0Uiwty7WbiupGExCWeuZuxyMwr_2RibMMukaHUlNOg5Yxx9vUj2YHYBplbXlZV9uX_cgVchdjuqG8UGiroYgEpf0uYwBFuoVkOpqmXKjjg8RGy3VqTVXW2fYzKdoQ17VuLOb8dkb5h_rJnkrYkMQfr8xns7h32kQB32tTDPUGIahgASc4pYejA=w807-h80" width="807" /></a></div><br /><br /></div><br /><br /><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-41657886147386593052022-01-28T04:02:00.002-08:002022-01-28T04:02:19.274-08:00Pass List of users and get Azure AD Signin logs<p> Pass List of users and get Azure AD Signin logs. You can loop through AD users in case of no list of users to pass. Note that this gives logs for last 30 days and if you want previous logs then need to get from Security Centre Audit Logs.</p><p><br /></p><p>Connect-AzureAD</p><p>$Headers = "Email`tInteractive`tLastLogon" >><span style="background-color: #fcff01;"><folderpath></span>\ADUsersSignIns.csv</p><p><br /></p><p>#$SetDate = (Get-Date).AddDays(-1);</p><p>#$SetDate = Get-Date($SetDate) -format yyyy-MM-dd </p><p><br /></p><p>foreach($line in Get-Content <span style="background-color: #fcff01;"><folderpath></span>\ADUsers.txt) </p><p> {</p><p> $UPN = $line</p><p> try</p><p> {</p><p> #$LoginTime = Get-AzureAdAuditSigninLogs -filter "userprincipalname eq '$UPN' and createdDateTime gt 2022-01-21T00:30:00.0Z" -top 1 | select CreatedDateTime, UserPrincipalName, IsInteractive</p><p> $LoginTime = Get-AzureAdAuditSigninLogs -filter "userprincipalname eq '$UPN'" -top 1 | select CreatedDateTime, UserPrincipalName, IsInteractive</p><p> $NewLine = $UPN + "`t" + $LoginTime.IsInteractive + "`t" + $LoginTime.CreatedDateTime</p><p> $NewLine >><span style="background-color: #fcff01;"><folderpath></span>\ADUsersSignIns.csv</p><p> }</p><p> catch{</p><p> $NewLine = $UPN + "`t" + "" + "`t" + "Too Many Requests"</p><p> $NewLine >><span style="background-color: #fcff01;"><folderpath></span>\ADUsersSignIns.csv</p><p><br /></p><p> }</p><p> </p><p> }</p><div><br /></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-46626784273086078522021-12-06T04:45:00.005-08:002022-01-28T02:32:30.903-08:00Powershell script to export certificate from Azure Keyvault<p> # Replace these variables with your own values</p><p></p><p style="margin: 0cm;"><span style="background: yellow; font-family: Calibri, sans-serif;"><span style="font-size: medium;">$vaultName = "<key vault
name>"<o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="background: yellow; font-family: Calibri, sans-serif;"><span style="font-size: medium;">$certificateName =
"<certificate name>"<o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="background: yellow; font-family: Calibri, sans-serif;"><span style="font-size: medium;">$pfxPath = "<folder
path>\<certname>.pfx"<o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="font-size: medium;"><span style="background: yellow; font-family: Calibri, sans-serif;">$password = "</span><span style="background: yellow; font-family: "Segoe UI", sans-serif;"><exportpassword></span><span style="background: yellow; font-family: Calibri, sans-serif;">"</span><span style="font-family: Calibri, sans-serif;"><o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="color: #24292f; font-family: Calibri, sans-serif;"><span style="font-size: medium;"> <o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="font-size: medium;"><span style="color: #24292f; font-family: ui-monospace, serif;">$cert = Get-AzKeyVaultCertificate
-VaultName $vaultName -Name $</span><span style="font-family: Calibri, sans-serif;">certificateName<o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="color: #24292f; font-family: Calibri, sans-serif;"><span style="font-size: medium;"> <o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="font-size: medium;"><span style="color: #24292f; font-family: Calibri, sans-serif;">$</span><span style="font-family: Calibri, sans-serif;">pfxSecret</span><span style="color: #24292f; font-family: Calibri, sans-serif;"> =
Get-AzKeyVaultSecret -VaultName $vaultName -Name $cert.Name</span><span style="color: #24292f; font-family: ui-monospace, serif;"> -AsPlainText</span><span style="font-family: Calibri, sans-serif;"><o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="color: #24292f; font-family: Calibri, sans-serif;"><span style="font-size: medium;"> <o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="font-family: Calibri, sans-serif;"><span style="font-size: medium;"> <o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="font-family: Calibri, sans-serif;"><span style="font-size: medium;">$pfxUnprotectedBytes
= [Convert]::FromBase64String($pfxSecret)<o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="font-family: Calibri, sans-serif;"><span style="font-size: medium;">$pfx
= New-Object Security.Cryptography.X509Certificates.X509Certificate2Collection<o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="font-family: Calibri, sans-serif;"><span style="font-size: medium;">$pfx.Import($pfxUnprotectedBytes,
$null,
[Security.Cryptography.X509Certificates.X509KeyStorageFlags]::Exportable)<o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="font-family: Calibri, sans-serif;"><span style="font-size: medium;">$pfxProtectedBytes
= $pfx.Export([Security.Cryptography.X509Certificates.X509ContentType]::Pkcs12,
$password)<o:p></o:p></span></span></p>
<p style="margin: 0cm;"><span style="font-family: Calibri, sans-serif;"><span style="font-size: medium;">[IO.File]::WriteAllBytes($pfxPath,
$pfxProtectedBytes)<o:p></o:p></span></span></p><br /><p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-8233613648366164092021-11-10T00:24:00.004-08:002022-01-28T02:55:22.116-08:00Add VMSS extensions with settings and protected settings- Powershell<p> The below script guides you to add/remove a vmss extension in Azure. The example is for adding Microsoft Monitoring Agent to Azure vmss which will have workspace Id to collect custom logs from VM's</p><p><br /></p><p><b>Get VMSS to a variable</b></p><p><span style="background-color: #f3f3f3;">$vmssname= Get-AzVmss -ResourceGroupName npqatx -VMScaleSetName <vmssname></span></p><p><span style="background-color: #f3f3f3;">$workspaceId="GUID of log analytics workspace"</span></p><p><span style="background-color: #f3f3f3;"> $workspaceKey="workspace key"</span></p><p><span style="background-color: #f3f3f3;">$settings=@{"workspaceId" = $workspaceId}</span></p><p><span style="background-color: #f3f3f3;">$protSettings=@{"workspaceKey" = $workspaceKey}</span></p><p><b>#Adding new extension</b></p><p><span style="background-color: #f3f3f3;">Add-AzVmssExtension -VirtualMachineScaleSet $vmssname -Name "MMAExtension" -Publisher "Microsoft.EnterpriseCloud.Monitoring" -Type "MicrosoftMonitoringAgent" -TypeHandlerVersion "1.0" -AutoUpgradeMinorVersion $true -Setting $settings -ProtectedSetting $protSettings</span></p><p><span style="background-color: #f3f3f3;">Update-AzVmss -ResourceGroupName "RGName" -VMScaleSetName $vmssname.Name -VirtualMachineScaleSet $vmssname</span></p><p><br /></p><p><b>#Remove existing vmss extension</b></p><p><span style="background-color: #f3f3f3;">Remove-AzVmssExtension -VirtualMachineScaleSet $webvmss -Name "MMAExtension"</span></p><p><span style="background-color: #f3f3f3;">Update-AzVmss -ResourceGroupName "RGName" -VMScaleSetName $vmssname.Name -VirtualMachineScaleSet $vmssname</span></p><p><br /></p><p><b>#make sure to upgrade instances in vmss to the latest model after every change to vmss.</b></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-89534032400084863852021-10-27T07:21:00.003-07:002022-01-28T03:53:58.382-08:00Authenticate Azure APIM using Managed Identity to access Storage Account<p></p><table class="highlight tab-size js-file-line-container" data-paste-markdown-skip="" data-tab-size="8" style="background-color: white; border-collapse: collapse; border-spacing: 0px; color: #24292f; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px; tab-size: 8;"><tbody style="box-sizing: border-box;"><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="16" id="L16" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC16" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"><<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">policies</span>></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="17" id="L17" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC17" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">inbound</span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="18" id="L18" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC18" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <span class="pl-c" color="var(--color-prettylights-syntax-comment)" style="box-sizing: border-box;"><span class="pl-c" color="var(--color-prettylights-syntax-comment)" style="box-sizing: border-box;"><!--</span> check the cache for secret first <span class="pl-c" color="var(--color-prettylights-syntax-comment)" style="box-sizing: border-box;">--></span></span></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="19" id="L19" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC19" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">cache-lookup-value</span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">key</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>mysecret<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">variable-name</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>keyvaultsecretResponse<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> /></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="20" id="L20" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC20" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <span class="pl-c" color="var(--color-prettylights-syntax-comment)" style="box-sizing: border-box;"><span class="pl-c" color="var(--color-prettylights-syntax-comment)" style="box-sizing: border-box;"><!--</span> call Key Vault if not found in cache <span class="pl-c" color="var(--color-prettylights-syntax-comment)" style="box-sizing: border-box;">--></span></span></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="21" id="L21" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC21" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">choose</span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="22" id="L22" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC22" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">when</span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">condition</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>@(!context.Variables.ContainsKey(<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span>keyvaultsecretResponse<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>))<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span>></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="23" id="L23" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC23" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">send-request</span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">mode</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>new<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">response-variable-name</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>keyvaultsecret<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">timeout</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>20<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">ignore-error</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>false<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="24" id="L24" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC24" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">set-url</span>>https://msikvtest.vault.azure.net/secrets/mysecret/?api-version=7.0</<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">set-url</span>></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="25" id="L25" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC25" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">set-method</span>>GET</<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">set-method</span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="26" id="L26" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC26" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">authentication-managed-identity</span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">resource</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>https://vault.azure.net<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> /></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="27" id="L27" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC27" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> </<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">send-request</span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="28" id="L28" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC28" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;">
</td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="29" id="L29" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC29" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <span class="pl-c" color="var(--color-prettylights-syntax-comment)" style="box-sizing: border-box;"><span class="pl-c" color="var(--color-prettylights-syntax-comment)" style="box-sizing: border-box;"><!--</span> transform response to string and store in cache <span class="pl-c" color="var(--color-prettylights-syntax-comment)" style="box-sizing: border-box;">--></span></span></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="30" id="L30" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC30" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">set-variable</span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">name</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>keyvaultsecretResponse<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">value</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>@(((IResponse)context.Variables[<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span>keyvaultsecret<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>]).Body.As<string>())<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> /></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="31" id="L31" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC31" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">cache-store-value</span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">key</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>mysecret<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">value</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>@((string)context.Variables[<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span>keyvaultsecretResponse<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>])<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">duration</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>3600<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> /></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="32" id="L32" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC32" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> </<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">when</span>></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="33" id="L33" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC33" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> </<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">choose</span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="34" id="L34" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC34" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">return-response</span>></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="35" id="L35" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC35" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">set-status</span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">code</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>200<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">reason</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>Done<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> /></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="36" id="L36" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC36" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">set-header</span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">name</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>content-type<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span> <span class="pl-e" color="var(--color-prettylights-syntax-entity)" style="box-sizing: border-box;">exists-action</span>=<span class="pl-s" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;"><span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span>override<span class="pl-pds" color="var(--color-prettylights-syntax-string)" style="box-sizing: border-box;">"</span></span>></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="37" id="L37" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC37" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">value</span>>application/json</<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">value</span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="38" id="L38" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC38" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> </<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">set-header</span>></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="39" id="L39" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC39" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">set-body</span>>@((string)context.Variables["keyvaultsecretResponse"])</<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">set-body</span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="40" id="L40" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC40" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> </<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">return-response</span>></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="41" id="L41" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC41" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">base</span> /></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="42" id="L42" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC42" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> </<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">inbound</span>></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="43" id="L43" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC43" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">backend</span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="44" id="L44" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC44" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">base</span> /></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="45" id="L45" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC45" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> </<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">backend</span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="46" id="L46" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC46" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">outbound</span>></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="47" id="L47" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC47" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">base</span> /></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="48" id="L48" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC48" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> </<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">outbound</span>></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="49" id="L49" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC49" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">on-error</span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="50" id="L50" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC50" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> <<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">base</span> /></td></tr><tr style="box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="51" id="L51" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC51" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"> </<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">on-error</span>></td></tr><tr style="background-color: transparent; box-sizing: border-box;"><td class="blob-num js-line-number" data-line-number="52" id="L52" style="box-sizing: border-box; color: var(--color-fg-subtle); cursor: pointer; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; min-width: 50px; padding: 0px 10px; text-align: right; user-select: none; vertical-align: top; white-space: nowrap; width: 50px;"></td><td class="blob-code blob-code-inner js-file-line" id="LC52" style="box-sizing: border-box; color: var(--color-fg-default); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; line-height: 20px; overflow-wrap: normal; overflow: visible; padding: 0px 10px; position: relative; vertical-align: top; white-space: pre;"></<span class="pl-ent" color="var(--color-prettylights-syntax-entity-tag)" style="box-sizing: border-box;">policies</span>></td></tr></tbody></table>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-45588012729553434352021-10-25T00:25:00.004-07:002022-01-28T03:54:28.766-08:00Azure Devops- Code Coverage report for typescript <p> For running unit test, you can use Jasmine and the coverage report can be generated with nyc and report type as cobertura, which is supported in Azure DevOps.</p><p><b>Jasmine.json</b></p><div style="line-height: 16px;"><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;">{</div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"> <span style="color: #a31515;">"spec_dir"</span>: <span style="color: #0451a5;">"test"</span>,</div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"> <span style="color: #a31515;">"spec_files"</span>: [<span style="color: #a31515;">"**/*spec.ts"</span>],</div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"> <span style="color: #a31515;">"helpers"</span>: [</div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"> <span style="color: #a31515;">"helpers/*.js"</span></div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"> ]</div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"> }</div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><br /></div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;">If you dont have any helper files, then you can remove the helpers section in above json file.</div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><br /></div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><b>*.spec.ts </b>file will have your test. Sample file below</div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><br /></div><div><span style="font-family: Consolas, Courier New, monospace;"><span style="background-color: #f3f3f3; font-size: 12px; white-space: pre;">describe('calculate', function() {
it('add', function() {
let result = Calculator.Sum(5, 2);
expect(result).equal(7);
});
});</span></span></div><div><span style="font-family: Consolas, Courier New, monospace;"><span style="background-color: #f3f3f3; font-size: 12px; white-space: pre;"><br /></span></span></div><div><span style="font-family: Consolas, Courier New, monospace;"><span style="background-color: #f3f3f3; font-size: 12px; white-space: pre;"><br /></span></span></div><div><span style="font-family: Consolas, Courier New, monospace;"><span style="background-color: white; font-size: 12px; white-space: pre;"><b>Package.json</b></span></span></div><div><span style="font-family: Consolas, Courier New, monospace;"><span style="background-color: white; font-size: 12px; white-space: pre;"><b><br /></b></span></span></div><div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"> <span style="color: #a31515;">"scripts"</span>: {</div></div><div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><span style="color: #a31515;">"test"</span>: <span style="color: #0451a5;">"ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json"</span></div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><span style="color: #0451a5;">}</span></div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><span style="color: #0451a5;"><br /></span></div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><span style="color: #0451a5;"><br /></span></div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; line-height: 16px; white-space: pre;"><span style="font-size: x-small;">Now lets start the changes for code coverage.</span></div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; line-height: 16px; white-space: pre;"><span style="font-size: x-small;"><br /></span></div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; line-height: 16px; white-space: pre;"><span style="font-size: x-small;">First add an index.js file for cobertura report generation</span></div><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; line-height: 16px; white-space: pre;"><span style="font-size: x-small;"><br /></span></div><div style="line-height: 16px;"><span style="font-family: Consolas, Courier New, monospace; font-size: x-small;"><span style="background-color: #f3f3f3; white-space: pre;">'use strict';
/*
Copyright 2012-2015, Yahoo Inc.
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
const path = require('path');
const { escape } = require('html-escaper');
const { ReportBase } = require('istanbul-lib-report');
class CoberturaReport extends ReportBase {
constructor(opts) {
super();
opts = opts || {};
this.cw = null;
this.xml = null;
this.timestamp = opts.timestamp || Date.now().toString();
this.projectRoot = opts.projectRoot || process.cwd();
this.file = opts.file || 'cobertura-coverage.xml';
}
onStart(root, context) {
this.cw = context.writer.writeFile(this.file);
this.xml = context.getXMLWriter(this.cw);
this.writeRootStats(root);
}
onEnd() {
this.xml.closeAll();
this.cw.close();
}
writeRootStats(node) {
const metrics = node.getCoverageSummary();
this.cw.println('<?xml version="1.0" ?>');
this.cw.println(
'<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">'
);
this.xml.openTag('coverage', {
'lines-valid': metrics.lines.total,
'lines-covered': metrics.lines.covered,
'line-rate': metrics.lines.pct / 100.0,
'branches-valid': metrics.branches.total,
'branches-covered': metrics.branches.covered,
'branch-rate': metrics.branches.pct / 100.0,
timestamp: this.timestamp,
complexity: '0',
version: '0.1'
});
this.xml.openTag('sources');
this.xml.inlineTag('source', null, this.projectRoot);
this.xml.closeTag('sources');
this.xml.openTag('packages');
}
onSummary(node) {
const metrics = node.getCoverageSummary(true);
if (!metrics) {
return;
}
this.xml.openTag('package', {
name: node.isRoot() ? 'main' : escape(asJavaPackage(node)),
'line-rate': metrics.lines.pct / 100.0,
'branch-rate': metrics.branches.pct / 100.0
});
this.xml.openTag('classes');
}
onSummaryEnd(node) {
const metrics = node.getCoverageSummary(true);
if (!metrics) {
return;
}
this.xml.closeTag('classes');
this.xml.closeTag('package');
}
onDetail(node) {
const fileCoverage = node.getFileCoverage();
const metrics = node.getCoverageSummary();
const branchByLine = fileCoverage.getBranchCoverageByLine();
this.xml.openTag('class', {
name: escape(asClassName(node)),
filename: path.relative(this.projectRoot, fileCoverage.path),
'line-rate': metrics.lines.pct / 100.0,
'branch-rate': metrics.branches.pct / 100.0
});
this.xml.openTag('methods');
const fnMap = fileCoverage.fnMap;
Object.entries(fnMap).forEach(([k, { name, decl }]) => {
const hits = fileCoverage.f[k];
this.xml.openTag('method', {
name: escape(name),
hits,
signature: '()V' //fake out a no-args void return
});
this.xml.openTag('lines');
//Add the function definition line and hits so that jenkins cobertura plugin records method hits
this.xml.inlineTag('line', {
number: decl.start.line,
hits
});
this.xml.closeTag('lines');
this.xml.closeTag('method');
});
this.xml.closeTag('methods');
this.xml.openTag('lines');
const lines = fileCoverage.getLineCoverage();
Object.entries(lines).forEach(([k, hits]) => {
const attrs = {
number: k,
hits,
branch: 'false'
};
const branchDetail = branchByLine[k];
if (branchDetail) {
attrs.branch = true;
attrs['condition-coverage'] =
branchDetail.coverage +
'% (' +
branchDetail.covered +
'/' +
branchDetail.total +
')';
}
this.xml.inlineTag('line', attrs);
});
this.xml.closeTag('lines');
this.xml.closeTag('class');
}
}
function asJavaPackage(node) {
return node
.getRelativeName()
.replace(/\//g, '.')
.replace(/\\/g, '.')
.replace(/\.$/, '');
}
function asClassName(node) {
return node.getRelativeName().replace(/.*[\\/]/, '');
}
module.exports = CoberturaReport;</span></span></div><div style="line-height: 16px;"><span style="font-family: Consolas, Courier New, monospace; font-size: x-small;"><span style="background-color: #f3f3f3; white-space: pre;"><br /></span></span></div><div style="line-height: 16px;"><br /></div><div style="line-height: 16px;"><span style="font-family: Consolas, Courier New, monospace; font-size: x-small;"><span style="background-color: white; white-space: pre;">Add coverage script and index file reference in <b>package.json</b></span></span></div><div style="line-height: 16px;"><span style="font-family: Consolas, Courier New, monospace; font-size: x-small;"><span style="background-color: white; white-space: pre;"><b><br /></b></span></span></div><div style="line-height: 16px;"><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><span style="color: #a31515;">"main"</span>: <span style="color: #0451a5;">"index.js"</span>,</div><div style="background-color: #fffffe; line-height: 16px;"><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"> <span style="color: #a31515;">"scripts"</span>: {</div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><div style="line-height: 16px;"> <span style="color: #a31515;">"test"</span>: <span style="color: #0451a5;">"ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json"</span>,</div></div><div style="line-height: 16px;"><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"> <span style="color: #a31515;">"coverage"</span>: <span style="color: #0451a5;">"nyc --reporter=lcov --reporter=text-lcov -r text -e .ts -x \"test/*.spec.ts\" npm run test"</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><span style="color: #0451a5;">}</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><span style="color: #0451a5;"><br /></span></div><div style="line-height: 16px;"><div style="line-height: 16px;"><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><span style="color: #a31515;">"files"</span>: [</div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"> <span style="color: #a31515;">"dist/**/*"</span>,</div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"> <span style="color: #a31515;">"index.js"</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"> ]</div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><br /></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><div style="line-height: 16px;"><span style="color: #a31515;">"devDependencies"</span>: {</div></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><br /></div><div style="line-height: 16px;"><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><span style="color: #a31515;">"jasmine"</span>: <span style="color: #0451a5;">"3.7.0"</span>,</div><div style="line-height: 16px;"><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><span style="color: #a31515;">"nyc"</span>: <span style="color: #0451a5;">"^15.1.0",</span></div><div style="line-height: 16px;"><div style="line-height: 16px;"><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><span style="color: #a31515;">"ts-node"</span>: <span style="color: #0451a5;">"9.1.1"</span>,</div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><span style="color: #a31515;">"typescript"</span>: <span style="color: #0451a5;">"4.2.4"</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><span style="color: #0451a5;">}</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><span style="color: #0451a5;"><br /></span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><span style="color: #0451a5;"><br /></span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><span style="color: #0451a5;">Now coming to Azure devops pipeline.</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><span style="color: #0451a5;"><br /></span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><span style="color: #0451a5;">Add the npm task for test script</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; white-space: pre;"><span style="color: #0451a5;"><br /></span></div><div><div style="line-height: 19px;"><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;">- <span style="color: teal;">task</span>: <span style="color: #0451a5;">Npm@1</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">displayName</span>: <span style="color: #0451a5;">'Run npm test'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">inputs</span>:</div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">command</span>: <span style="color: #0451a5;">'custom'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">workingDir</span>: <span style="color: #0451a5;">'$(System.DefaultWorkingDirectory)/foldername'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">customCommand</span>: <span style="color: #0451a5;">'run test'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">customRegistry</span>: <span style="color: #0451a5;">'useFeed'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">customFeed</span>: <span style="color: #0451a5;">'d1b0b66c-98e1-4731-aab9-7ba4e6c12630'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">condition</span>: <span style="color: #0451a5;">succeededOrFailed()</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"><span style="color: #0451a5;"><br /></span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"><span style="color: #0451a5;">For code coverage report, run the npm task by calling coverage script added in package</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"><span style="color: #0451a5;"><br /></span></div><div><div style="line-height: 19px;"><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;">- <span style="color: teal;">task</span>: <span style="color: #0451a5;">Npm@1</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">displayName</span>: <span style="color: #0451a5;">'Run npm coverage'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">inputs</span>:</div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">command</span>: <span style="color: #0451a5;">'custom'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">workingDir</span>: <span style="color: #0451a5;">'$(System.DefaultWorkingDirectory)/</span><span style="color: #0451a5;">foldername</span><span style="color: #0451a5;">'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">customCommand</span>: <span style="color: #0451a5;">'run coverage'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">customRegistry</span>: <span style="color: #0451a5;">'useFeed'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">customFeed</span>: <span style="color: #0451a5;">'d1b0b66c-98e1-4731-aab9-7ba4e6c12630'</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">condition</span>: <span style="color: #0451a5;">succeededOrFailed()</span></div><div><div style="line-height: 19px;"><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;">- <span style="color: teal;">task</span>: <span style="color: #0451a5;">PublishCodeCoverageResults@1</span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">inputs</span>:</div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"> <span style="color: teal;">codeCoverageTool</span>: <span style="color: #0451a5;">'Cobertura'</span></div><div><span style="font-family: Consolas, Courier New, monospace;"><span style="font-size: 14px; white-space: pre;"> </span></span><span style="color: teal; font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;">summaryFileLocation</span><span style="font-family: Consolas, Courier New, monospace;"><span style="font-size: 14px; white-space: pre;">: </span></span><span style="color: #0451a5; font-family: Consolas, Courier New, monospace;"><span style="font-size: 14px; white-space: pre;">'**/*cobertura-coverage.xml'</span></span></div></div></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"><span style="color: #0451a5;"><br /></span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"><span style="color: #0451a5;"><br /></span></div><div style="font-family: Consolas, "Courier New", monospace; font-size: 14px; white-space: pre;"><span style="color: #0451a5;">Thats it and you can see the code coverage report in your release output</span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-11760274994142443142021-10-19T05:22:00.004-07:002022-01-28T03:55:00.681-08:00Azure Runbook to add VMMS ID to KeyVault access policy<p>#Comment: Make sure you are not using Application ID parameter while adding access policy as it will add the identity as on behalf of.</p><p># PowerShell code</p><p>########################################################</p><p># Parameters</p><p>########################################################</p><p>[CmdletBinding()]</p><p>param(</p><p> [Parameter(Mandatory=$True,Position=0)]</p><p> [string]$NPResourceGroupName,</p><p> </p><p> [Parameter(Mandatory=$True,Position=1)]</p><p> [string]$NPWebVmssID,</p><p> </p><p> [Parameter(Mandatory=$True,Position=2)]</p><p> [string]$NPEngVmssID,</p><p> </p><p> [Parameter(Mandatory=$False,Position=3)]</p><p> [string]$NPPayVmssID,</p><p><br /></p><p> [Parameter(Mandatory=$False,Position=4)]</p><p> [string]$NPMasterKeyvaultName,</p><p><br /></p><p> [Parameter(Mandatory=$False,Position=5)]</p><p> [string]$NPWebKeyvaultName</p><p>)</p><p> </p><p># Keep track of time</p><p>$StartDate=(GET-DATE)</p><p> </p><p> </p><p> </p><p>########################################################</p><p># Log in to Azure with AZ (standard code)</p><p>########################################################</p><p>Write-Verbose -Message 'Connecting to Azure'</p><p> </p><p># Name of the Azure Run As connection</p><p>$ConnectionName = 'AzureRunAsConnection'</p><p>try</p><p>{</p><p> # Get the connection properties</p><p> $ServicePrincipalConnection = Get-AutomationConnection -Name $ConnectionName </p><p> </p><p> 'Log in to Azure...'</p><p> $null = Connect-AzAccount `</p><p> -ServicePrincipal `</p><p> -TenantId $ServicePrincipalConnection.TenantId `</p><p> -ApplicationId $ServicePrincipalConnection.ApplicationId `</p><p> -CertificateThumbprint $ServicePrincipalConnection.CertificateThumbprint </p><p>}</p><p>catch </p><p>{</p><p> if (!$ServicePrincipalConnection)</p><p> {</p><p> # You forgot to turn on 'Create Azure Run As account' </p><p> $ErrorMessage = "Connection $ConnectionName not found."</p><p> throw $ErrorMessage</p><p> }</p><p> else</p><p> {</p><p> # Something else went wrong</p><p> Write-Error -Message $_.Exception.Message</p><p> throw $_.Exception</p><p> }</p><p>}</p><p><br /></p><p>try</p><p>{</p><p><br /></p><p>#Adding to master keyvault</p><p>Write-Verbose -Message 'Adding to master keyvault'</p><p><br /></p><p># Web vmss</p><p>$identityWeb = Get-AzUserAssignedIdentity -ResourceGroupName $NPResourceGroupName -Name $NPWebVmssID</p><p><br /></p><p>Write-Verbose -Message 'Adding webvmssid'</p><p>'Adding webvmssid'</p><p>Set-AzKeyVaultAccessPolicy `</p><p> -ResourceGroupName $NPResourceGroupName -VaultName $NPMasterKeyvaultName -ObjectId $identityWeb.PrincipalId `</p><p> -PermissionsToKeys get,list,unwrapKey,wrapKey `</p><p> -PermissionsToSecrets get -PermissionsToCertificates get,list,delete,create -BypassObjectIdValidation</p><p><br /></p><p># Eng vmss</p><p>$identityEng = Get-AzUserAssignedIdentity -ResourceGroupName $NPResourceGroupName -Name $NPEngVmssID</p><p><br /></p><p>Write-Verbose -Message 'Adding engvmssid'</p><p>'Adding engvmssid'</p><p>Set-AzKeyVaultAccessPolicy `</p><p> -ResourceGroupName $NPResourceGroupName -VaultName $NPMasterKeyvaultName -ObjectId $identityEng.PrincipalId `</p><p> -PermissionsToKeys get,list,unwrapKey,wrapKey `</p><p> -PermissionsToSecrets get -PermissionsToCertificates get,list,delete,create -BypassObjectIdValidation</p><p><br /></p><p># Pay vmss</p><p>$identityPay = Get-AzUserAssignedIdentity -ResourceGroupName $NPResourceGroupName -Name $NPPayVmssID</p><p><br /></p><p>Write-Verbose -Message 'Adding payvmssid'</p><p>'Adding payvmssid'</p><p>Set-AzKeyVaultAccessPolicy `</p><p> -ResourceGroupName $NPResourceGroupName -VaultName $NPMasterKeyvaultName -ObjectId $identityPay.PrincipalId `</p><p> -PermissionsToKeys get,list,unwrapKey,wrapKey `</p><p> -PermissionsToSecrets get -PermissionsToCertificates get,list,delete,create -BypassObjectIdValidation</p><p><br /></p><p>#Adding to web keyvault</p><p>Write-Verbose -Message 'Adding to master keyvault'</p><p><br /></p><p># Web vmss</p><p>#$identityWeb = Get-AzUserAssignedIdentity -ResourceGroupName $NPResourceGroupName -Name $NPWebVmssID</p><p><br /></p><p>Write-Verbose -Message 'Adding webvmssid'</p><p>'Adding webvmssid'</p><p>Set-AzKeyVaultAccessPolicy `</p><p> -ResourceGroupName $NPResourceGroupName -VaultName $NPWebKeyvaultName -ObjectId $identityWeb.PrincipalId `</p><p> -PermissionsToKeys get,list,unwrapKey,wrapKey `</p><p> -PermissionsToSecrets get -PermissionsToCertificates get,list,delete,create -BypassObjectIdValidation</p><p><br /></p><p># Eng vmss</p><p>#$identityEng = Get-AzUserAssignedIdentity -ResourceGroupName $NPResourceGroupName -Name $NPEngVmssID</p><p><br /></p><p>Write-Verbose -Message 'Adding engvmssid'</p><p>'Adding engvmssid'</p><p>Set-AzKeyVaultAccessPolicy `</p><p> -ResourceGroupName $NPResourceGroupName -VaultName $NPWebKeyvaultName -ObjectId $identityEng.PrincipalId `</p><p> -PermissionsToKeys get,list,unwrapKey,wrapKey `</p><p> -PermissionsToSecrets get -PermissionsToCertificates get,list,delete,create -BypassObjectIdValidation</p><p><br /></p><p># Pay vmss</p><p>#$identityPay = Get-AzUserAssignedIdentity -ResourceGroupName $NPResourceGroupName -Name $NPPayVmssID</p><p><br /></p><p>Write-Verbose -Message 'Adding payvmssid'</p><p>'Adding payvmssid'</p><p>Set-AzKeyVaultAccessPolicy `</p><p> -ResourceGroupName $NPResourceGroupName -VaultName $NPWebKeyvaultName -ObjectId $identityPay.PrincipalId `</p><p> -PermissionsToKeys get,list,unwrapKey,wrapKey `</p><p> -PermissionsToSecrets get -PermissionsToCertificates get,list,delete,create -BypassObjectIdValidation</p><p><br /></p><p>}</p><p>catch </p><p>{</p><p> Write-Error -Message $_.Exception.Message</p><p> throw $_.Exception</p><p>}</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-40374836036292214582021-10-17T07:40:00.002-07:002022-01-28T03:55:34.034-08:00Powershell to update Azure DevOps pipeline variables automatically during the execution<p> </p><p>Sometimes we have a scenario to update the devops pipeline variables dynamically during the task execution without having to update manually and create new release. you can use the below approach by adding Powershell task to the pipeline.</p><p># Write your PowerShell commands here.</p><p>$cosmosconnstr = "$(cosmosconnstring)"</p><p>if("$(cosmosconnstring)".Chars("$(cosmosconnstring)".Length - 1) -eq ';')</p><p>{</p><p> $cosmosconnstr = "$(cosmosconnstring)".TrimEnd(';')</p><p>}</p><p><br /></p><p><br /></p><p>Write-Output("##vso[task.setvariable variable=ApplicationSettings.CacheConnection;]$cosmosconnstr")</p><p><br /></p><p>#End</p><p><br /></p><p>#Run the below script in another stage to make sure you get the updated value</p><p>Write-host "CacheConnection Variable in previous task is: $(ApplicationSettings.CacheConnection)"</p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-12189723058441389252021-10-17T05:17:00.004-07:002021-10-17T05:18:12.172-07:00Azure Monitoring Agent extension for VMSS- Updating through ARM template<p> You can add multiple extensions to Azure VMSS through the extensionProfile of ARM template. The below script shows the extension configuration and mapping workspaceId to collect custom logs from VMSS instances.</p><p><br /></p><div style="background-color: #fffffe; font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><div>{</div><div> <span style="color: #a31515;">"name"</span>: <span style="color: #0451a5;">"AxMAExtension"</span>,</div><div> <span style="color: #a31515;">"properties"</span>: {</div><div> <span style="color: #a31515;">"autoUpgradeMinorVersion"</span>: <span style="color: #0451a5;">true</span>,</div><div> <span style="color: #a31515;">"protectedSettings"</span>: {</div><div> <span style="color: #a31515;">"workspaceKey"</span>: <span style="color: #0451a5;">"[listKeys(resourceId(parameters('RGName'),'Microsoft.OperationalInsights/workspaces/', parameters('workspacename')),'2015-11-01-preview').primarySharedKey]"</span></div><div> },</div><div> <span style="color: #a31515;">"publisher"</span>: <span style="color: #0451a5;">"Microsoft.Azure.Monitor"</span>,</div><div> <span style="color: #a31515;">"settings"</span>: {</div><div> <span style="color: #a31515;">"workspaceId"</span>: <span style="color: #0451a5;">"[reference(resourceId(parameters('RGName'),'Microsoft.OperationalInsights/workspaces/', parameters('workspacename')), '2015-11-01-preview').customerId]"</span></div><div> },</div><div> <span style="color: #a31515;">"type"</span>: <span style="color: #0451a5;">"AzureMonitorWindowsAgent"</span>,</div><div> <span style="color: #a31515;">"typeHandlerVersion"</span>: <span style="color: #0451a5;">"1.0"</span></div><div> }</div><div> }</div></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-45151690904261052792021-10-13T07:34:00.006-07:002022-01-28T03:56:09.371-08:00Custom dimensions and measurements - Azure Application Insights Query<p> <span style="background-color: white; color: #555555; font-family: Lato, "Helvetica Neue", sans-serif; font-size: 18px;">n App Analytics you can slice and dice on your App Insights custom dimensions and measurements just as easily as any of the so-called “standard” properties.</span></p><p style="background-color: white; border: 0px; box-sizing: border-box; color: #555555; font-family: Lato, "Helvetica Neue", sans-serif; font-size: 18px; line-height: 1.7; margin: 0px 0px 1.1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;">The only thing that’s a little bit tricky is extracting them first.</p><p style="background-color: white; border: 0px; box-sizing: border-box; color: #555555; font-family: Lato, "Helvetica Neue", sans-serif; font-size: 18px; line-height: 1.7; margin: 0px 0px 1.1em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;">It’s tricky because of 2 things:</p><ol style="background-color: white; border: 0px; box-sizing: border-box; color: #555555; font-family: Lato, "Helvetica Neue", sans-serif; font-size: 18px; line-height: 1.7; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.1em 1.5em; outline: 0px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline;"><li style="border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">You have to explicitly set the type of the measurement/dimension after you extract it.</li><li style="border: 0px; box-sizing: border-box; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Extracting properties that contain spaces and special characters is a little bit of a hassle.</li></ol><div><span style="color: #555555; font-family: Lato, Helvetica Neue, sans-serif;"><span style="font-size: 18px;">Bellow is an example</span></span></div><div><span style="color: #073763; font-family: Lato, Helvetica Neue, sans-serif;"><span style="font-size: 18px;"><br /></span></span></div><div><span style="font-family: Lato, Helvetica Neue, sans-serif;"><span style="font-size: 18px;"><div><span style="background-color: #cccccc; color: #073763;">customEvents </span></div><div><span style="background-color: #cccccc; color: #073763;">| where timestamp > ago(3h)</span></div><div><span style="background-color: #cccccc; color: #073763;">| where name == "Query"</span></div><div><span style="background-color: #cccccc; color: #073763;">| extend query_time = todouble(customMeasurements.['Query Time'])</span></div><div><span style="background-color: #cccccc; color: #073763;">| extend query_name = tostring(customDimensions.['Query Name'])</span></div><div><span style="background-color: #cccccc; color: #073763;">| project query_time, query_name</span></div><div><span style="background-color: #cccccc; color: #073763;">| summarize avg(query_time) by query_name </span></div><div><span style="background-color: #cccccc; color: #073763;">| render barchart</span></div><div style="color: #3d85c6;"><br /></div><div>User Enagagement metrix example</div><div><br /></div><div><div><span style="background-color: #cccccc; color: #073763;">union *</span></div><div><span style="background-color: #cccccc; color: #073763;">| where timestamp > ago(90d)</span></div><div><span style="background-color: #cccccc; color: #073763;">| where client_Browser startswith "chrome" </span></div><div><span style="background-color: #cccccc; color: #073763;">| evaluate activity_metrics(user_Id , timestamp, 7d, client_Browser )</span></div><div><span style="background-color: #cccccc; color: #073763;">| where dcount_values > 3</span></div><div><span style="background-color: #cccccc; color: #073763;">| project timestamp , retention_rate, client_Browser </span></div><div><span style="background-color: #cccccc; color: #073763;">| where retention_rate > 0 and </span></div><div><span style="background-color: #cccccc; color: #073763;"> timestamp < ago(7d) and timestamp > ago(83d) // remove partial data in tail and head</span></div><div><span style="background-color: #cccccc; color: #073763;">| render timechart</span></div></div></span></span></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-53256268803180930172021-09-20T23:30:00.005-07:002022-01-28T03:56:36.833-08:00TFS Build failure: folder cannot be deleted because it is not empty<p>When we run the build pipeline in Azure Devops, if we encounter below error then you can make the change recommended here.</p><p><b>Issue</b></p><p>D:\DevOps\Build\33\s\PT\<foldername>cannot be deleted because it is not empty. </p><p>D:\DevOps\Build\33\s\PT\<foldername> cannot be deleted because it is not empty.</p><p>---- Summary: 0 conflicts, 1 warnings, 0 errors ---- </p><p>Sleeping for 200 ms </p><p>Retrying. Attempt $2/$3 </p><p><span style="color: #e92d3d; white-space: pre-wrap;">##[error]_proc should be null. (Parameter '_proc')</span></p><p><span style="color: #e92d3d; white-space: pre-wrap;"><br /></span></p><p><span style="white-space: pre-wrap;"><b>Cause</b></span></p><p><span face=""Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif" style="background-color: white;">You can perform different kinds of cleaning of the working directory of your private agent before the build is run. If the Clean is set to false, it does not get a fresh pull before the build is run.</span></p><p><span face=""Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif" style="background-color: white;"><br /></span></p><p><b style="white-space: pre-wrap;">Resolution</b></p><p><span style="white-space: pre-wrap;"></span></p><div class="separator" style="clear: both; font-weight: bold; text-align: center;"><br /></div>Change the clean dropdown to true and the error goes of in the next run.<b><br /><br /></b><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVb-ci-0cS8jcReC0VF5W-ib8zjfW1uZbHYu3_hW8daC5DM8KEZG0YFvZtcCHFXW2u4R6GWBZDjSlsbifZ6jy0g5FTlrKn_gyCKFAyx3dAtRyMDzvgOPijfvBgU6FRI0sLc5JXAly-hbk/s385/Cleanbuild.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="110" data-original-width="385" height="119" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVb-ci-0cS8jcReC0VF5W-ib8zjfW1uZbHYu3_hW8daC5DM8KEZG0YFvZtcCHFXW2u4R6GWBZDjSlsbifZ6jy0g5FTlrKn_gyCKFAyx3dAtRyMDzvgOPijfvBgU6FRI0sLc5JXAly-hbk/w418-h119/Cleanbuild.png" width="418" /></a></div><br /><p></p><p><span face=""Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif" style="background-color: white;"><b><br /></b></span></p><p><span style="white-space: pre-wrap;"><br /></span></p><div class="bolt-fixed-height-list-row scroll-hidden absolute focused" data-focuszone="focuszone-2600" data-row-index="75" style="box-sizing: border-box; height: 20px; overflow: hidden; position: absolute; top: 1500px; width: 1274px;" tabindex="-1"><div class="line-row flex-row flex-grow" style="box-sizing: border-box; cursor: text; display: flex; flex-direction: row; flex-grow: 1; padding: 0px 12px; white-space: pre-wrap;"><span class="line-area flex-center flex-row flex-grow justify-start highlight" style="align-items: center; box-sizing: border-box; display: flex; flex-direction: row; flex-grow: 1; justify-content: flex-start; user-select: text;"><span class="link" data-line="76" data-lsec="771d55ec-34a7-5ddd-398e-3e8e57b4f3f0" style="box-sizing: border-box; height: 20px; margin-right: 25px; visibility: hidden;"><span aria-hidden="true" class="fontSizeM flex-noshrink fabric-icon ms-Icon--Link" style="-webkit-font-smoothing: antialiased; align-self: center; box-sizing: border-box; display: inline-flex; flex-shrink: 0; font-family: AzureDevOpsMDL2Assets; font-size: 0.875rem;"></span></span></span></div></div><div class="bolt-fixed-height-list-row scroll-hidden absolute" data-focuszone="focuszone-2600" data-row-index="76" style="box-sizing: border-box; height: 20px; overflow: hidden; position: absolute; top: 1520px; width: 1274px;" tabindex="-1"><div class="line-row flex-row flex-grow" style="box-sizing: border-box; cursor: text; display: flex; flex-direction: row; flex-grow: 1; padding: 0px 12px; white-space: pre-wrap;"><span class="line-area flex-center flex-row flex-grow justify-start" style="align-items: center; box-sizing: border-box; display: flex; flex-direction: row; flex-grow: 1; justify-content: flex-start; user-select: text;"><span aria-label="77" class="flex-noshrink flex-self-start line" color="rgba(var(--palette-neutral-60,102, 102, 102),1)" data-line="77" data-lsec="771d55ec-34a7-5ddd-398e-3e8e57b4f3f0" style="align-self: flex-start; background-color: #201f1e; box-sizing: border-box; flex-shrink: 0; font-family: Menlo, Consolas, "Courier New", monospace; font-size: 12px; min-width: 33px; padding-left: 20px; text-align: right; user-select: none;"></span></span></div></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-81676247771200095962021-09-18T07:05:00.002-07:002021-09-18T07:05:19.433-07:00Update Azure SQL Database table using Service Principal Context<p>The script below checks whether a key exists in the DB and if yes it updates and if not it adds the key and value to the table. The context used here is the Service Principal Name (SPN) which is the client ID and secret key. Also the SQL authentication user ID and password is required. Make sure your machine ip is added in the firewall rules to run the query.</p><p><span style="color: #0b5394;">$dbuser = "username"</span></p><p><span style="color: #0b5394;">$password = "dbpswd"</span></p><p><span style="color: #0b5394;">$tenid = "tenantid"</span></p><p><span style="color: #0b5394;">$clientid = "client ID"</span></p><p><span style="color: #0b5394;">$secretkey = "Secret Key"</span></p><p><span style="color: #0b5394;">$Servername ="dbservername"</span></p><p><span style="color: #0b5394;">$database="dbname"</span></p><p><span style="color: #0b5394;"><br /></span></p><p><span style="color: #0b5394;">Write-Output "Starting"</span></p><p><span style="color: #0b5394;">#$clientid = Get-AzureRMAutomationVariable -Name $varclientid</span></p><p><span style="color: #0b5394;">#$secretkey = Get-AzureRMAutomationVariable -Name $varsecretkey</span></p><p><span style="color: #0b5394;">#$dbuser = Get-AzureRMAutomationVariable -Name $vardbuser</span></p><p><span style="color: #0b5394;">#$password = Get-AzureRMAutomationVariable -Name $vardbpass</span></p><p><span style="color: #0b5394;">#$sbpk = "test"</span></p><p><span style="color: #0b5394;"><br /></span></p><p><span style="color: #0b5394;">Add-SqlAzureAuthenticationContext -ClientID $clientid -Secret $secretkey -Tenant $tenid</span></p><p><span style="color: #0b5394;">$sqlConn = New-Object System.Data.SqlClient.SqlConnection</span></p><p><span style="color: #0b5394;">$sqlConn.ConnectionString = "Server=$Servername.database.windows.net; User ID = $dbuser ; Password = $password ; Database = $database; Column Encryption Setting=enabled;"</span></p><p><span style="color: #0b5394;">$sqlConn.Open()</span></p><p><span style="color: #0b5394;">Write-Output "sql conn opened"</span></p><p><span style="color: #0b5394;">function updateparamMaster($sqlconn,$paraID,$ParaGrp,$ParaValue)</span></p><p><span style="color: #0b5394;">{</span></p><p><span style="color: #0b5394;"><br /></span></p><p><span style="white-space: pre;"><span style="color: #0b5394;"> </span></span></p><p><span style="color: #0b5394;">#Check if the paramid and ParamGroup exists</span></p><p><span style="color: #0b5394;">$sqlcmd = New-Object System.Data.SqlClient.SqlCommand</span></p><p><span style="color: #0b5394;">$sqlcmd.Connection = $sqlConn</span></p><p><span style="color: #0b5394;">$query = "select * from parametermaster where paramid= $paraID and ParamGroup= '"+$ParaGrp+"'"</span></p><p><span style="color: #0b5394;">$sqlcmd.CommandText = $query</span></p><p><span style="color: #0b5394;">$adp = New-Object System.Data.SqlClient.SqlDataAdapter $sqlcmd</span></p><p><span style="color: #0b5394;">$data = New-Object System.Data.DataSet</span></p><p><span style="color: #0b5394;">$adp.Fill($data)</span></p><p><span style="color: #0b5394;">$paramcount = $data.Tables[0].Rows.count</span></p><p><span style="color: #0b5394;">Write-Host "Row count-" $paramcount</span></p><p><span style="color: #0b5394;"><br /></span></p><p><span style="color: #0b5394;">if($paramcount -eq 0)</span></p><p><span style="color: #0b5394;">{</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>Write-Output $ParaGrp "ParamGroup does not exist- creating new entry"</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd = New-Object System.Data.SqlClient.SqlCommand</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Connection = $sqlConn</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.CommandText = "INSERT into parametermaster(paramid,ParamGroup,Value) VALUES (@paramid, @ParamGroup, @Val)"</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters.Add((New-Object Data.SqlClient.SqlParameter("@paramid",[Data.SQLDBType]::Int)))</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters["@paramid"].Value = $paraID</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters.Add((New-Object Data.SqlClient.SqlParameter("@ParamGroup",[Data.SQLDBType]::VarChar, 50)))</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters["@ParamGroup"].Value = $ParaGrp</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters.Add((New-Object Data.SqlClient.SqlParameter("@val",[Data.SQLDBType]::NVarChar, 500)))</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters["@val"].Value =$ParaValue</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.ExecuteNonQuery();</span></p><p><span style="color: #0b5394;">}</span></p><p><span style="color: #0b5394;">else</span></p><p><span style="color: #0b5394;">{</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>Write-Output $ParaGrp "ParamGroup exist- updating entry"</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd = New-Object System.Data.SqlClient.SqlCommand</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Connection = $sqlConn</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.CommandText = "UPDATE parametermaster SET [Value] = @Val WHERE paramid = @paramid AND ParamGroup = @ParamGroup"</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters.Add((New-Object Data.SqlClient.SqlParameter("@paramid",[Data.SQLDBType]::Int)))</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters["@paramid"].Value = $paraID</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters.Add((New-Object Data.SqlClient.SqlParameter("@ParamGroup",[Data.SQLDBType]::VarChar, 50)))</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters["@ParamGroup"].Value = $ParaGrp</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters.Add((New-Object Data.SqlClient.SqlParameter("@val",[Data.SQLDBType]::NVarChar, 500)))</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.Parameters["@val"].Value =$ParaValue</span></p><p><span style="color: #0b5394;"><span style="white-space: pre;"> </span>$sqlcmd.ExecuteNonQuery();</span></p><p><span style="color: #0b5394;">}</span></p><p><span style="color: #0b5394;"><br /></span></p><p><span style="color: #0b5394;">}</span></p><p><span style="color: #0b5394;"><br /></span></p><p><span style="color: #0b5394;">updateparamMaster -sqlconn $sqlConn -paraID 118 -ParaGrp "SharedDb" -ParaValue</span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-39421840902393893642021-09-14T08:31:00.006-07:002021-09-18T06:30:02.031-07:00Add Virtual Machine Scale Set (VMSS) Managed Identity to Azure Key Vault Access Policy- Powershell<p> The below Powershell script will help you to add VMSS managed identity to Azure Key vault access policy.</p><p>#First, Get the identity Object ID and application Id based on the managed identity name</p><p><span style="color: #0b5394;">$identity = Get-AzUserAssignedIdentity -ResourceGroupName "RGName" -Name "sample-vmssid"</span></p><p><br /></p><p># $identity.ClienId is the Application ID and $identity.PrincipalID is the Object ID. You can run the below command by passing parameters and permissions required to be set to the Key vault</p><p><span style="color: #0b5394;">Set-AzKeyVaultAccessPolicy -ResourceGroupName "RGName" -VaultName "VaultName-kvt" -ObjectId $identity.PrincipalId -ApplicationId $identity.ClientId -PermissionsToKeys get,list,unwrapKey,wrapKey -PermissionsToSecrets get -PermissionsToCertificates get,list,delete,create</span></p><p><span style="color: #0b5394;"><br /></span></p><p><span>#Thats it and you can see the vmss managed identity in the access policy for key vault.</span></p><p><span><br /></span></p><p><span>#You can do the above using Azure CLI as well like below</span></p><p><span style="color: #0b5394;">spObjectID=$(az resource list -n vmss_name --query [*].identity.principalId --out tsv)</span></p><p><span style="color: #0b5394;">az keyvault set-policy -n vaultname-kvt --key-permissions get list wrapKey unwrapKey --secret-permissions backup restore --certificate-permissions get list delete create --object-id spObjectID</span></p><p><br /></p><p><span style="color: #0b5394;"><b>**Always share your knowledge**</b></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-50679053037396333262021-09-12T05:45:00.006-07:002021-09-18T06:30:32.396-07:00Set the compilation debug flag in IIS web.config<p> O<span style="background-color: white; color: #555555; font-family: Ubuntu, sans-serif; font-size: 1.05em;">ne of the first things I check when troubleshooting ASP.NET applications is the debug flag in the web.config.</span></p><p style="background-color: white; border: 0px; box-sizing: border-box; color: #555555; font-family: Ubuntu, sans-serif; font-size: 1.05em; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;">For this, I’ve written the following function that use the<span style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: 13.65px; font-style: inherit; font-weight: 600; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> [xml]</span> accelerator to cast the web.config file contents as an xmlDocument and use PowerShell’s dot notation to get the debug flag value, or use the .NET methods of the dom document to set the debug flag value:</p><p style="background-color: white; border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="font-size: 16.8px;"><br /></span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">function SetWebConfigDebugFlag {</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;"> PARAM(</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;"> [Parameter(Mandatory=$true, ValueFromPipelineByPropertyName=$true)]</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;"> [string]$IISsitename,</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;"><br /></span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="background-color: #f3f3f3; color: #555555; font-family: Ubuntu, sans-serif; font-size: 16.8px;"> [Parameter(Mandatory=$true)]</span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;"> [ValidateSet(‘True’, ‘False’)]</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;"> $DebugFlag = $false</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;"> )</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$mersite= Get-Website -Name $IISsitename</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$appPath = $mersite.physicalPath + "\web.config"</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$config = [xml](Get-Content -Path $appPath)</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;"> try {</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">if (($config.SelectSingleNode(‘configuration/system.web/compilation’)) -eq $null) {</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$compilation = $config.CreateElement(‘compilation’)</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$sw = $config.SelectSingleNode(‘configuration/system.web’)</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">[void] $sw.AppendChild($compilation)</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="background-color: #f3f3f3;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="font-size: 16.8px;">}</span></span><span style="color: #555555; font-family: Ubuntu, sans-serif; font-size: 16.8px;"> </span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="background-color: #f3f3f3; color: #555555; font-family: Ubuntu, sans-serif; font-size: 16.8px;">if ($config.SelectSingleNode(‘configuration/system.web/compilation/debug’) -eq $null) {</span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$compilation = $config.SelectSingleNode(‘configuration/system.web/compilation’)</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$compilation.SetAttribute(‘debug’, ($DebugFlag.ToString()).ToLower())</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">} else {</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$config.configuration.‘system.web’.compilation.debug = $DebugFlag</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">}</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$config.Save($appPath)</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">if($?) {</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$Result = ‘Success’</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$ThisDebugFlag = $DebugFlag</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">} else {</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$Result = ‘Error saving the config file’</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$ThisDebugFlag = ""</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">}</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">}</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="background-color: #f3f3f3; color: #555555; font-family: Ubuntu, sans-serif; font-size: 16.8px;">catch {</span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$Result = $appPath.Exception.Message</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">if ($Result -eq ‘You cannot call a method on a null-valued expression.’) {</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$Result = "Configuration does not contain a ‘system.web’ section"</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">$ThisDebugFlag = ""</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">}</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">}</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="background-color: #f3f3f3; color: #555555; font-family: Ubuntu, sans-serif; font-size: 16.8px;">New-Object -TypeName PSObject -Property @{‘Path’=$appPath; ‘DebugFlag’=$ThisDebugFlag; ‘Result’=$Result }</span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">}</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">#Calling the above function by passing iissitename and Debugflag params.</span></span></p><p style="border: 0px; box-sizing: border-box; line-height: 1.6; margin: 0px 0px 1.2em; outline: 0px; padding: 0px; vertical-align: baseline;"><span style="color: #555555; font-family: Ubuntu, sans-serif;"><span style="background-color: #f3f3f3; font-size: 16.8px;">SetWebConfigDebugFlag -IISsitename "iissitename" -DebugFlag 'True'</span></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-67960861844079248162021-09-08T04:31:00.002-07:002022-01-28T03:56:57.374-08:00Azure Sentinel- Most common Use cases deployment<p><b><span style="font-size: medium;"> Ready to go . Just import them, configure any additional permissions needed. Take advantage of Azure Sentinel right now.</span></b></p><p><br /></p><p>Disable Users from OnPrem Active Directory:</p><p><a href="https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Block-OnPremADUser">https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Block-OnPremADUser</a></p><p><br /></p><p>Block Azure AD Users:</p><p><a href="https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Block-AADUser">https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Block-AADUser</a></p><p><br /></p><p>Integrate Azure Sentinel alerts with Service Now:</p><p><a href="https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Close-SentinelIncident-fromSNOW">https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Close-SentinelIncident-fromSNOW</a></p><p><br /></p><p>Add Comments (Guidelines) on Incidents:</p><p><a href="https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Comment-RemediationSteps">https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Comment-RemediationSteps</a></p><p><br /></p><p>Confirm Risks for Azure Active Directory Users:</p><p><a href="https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Confirm-AADRiskyUser">https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Confirm-AADRiskyUser</a></p><p><br /></p><p>Collect Threat Vulnerability Management report from compromised Machine:</p><p><a href="https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Enrich-SentinelIncident-MDATPTVM">https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Enrich-SentinelIncident-MDATPTVM</a></p><p><br /></p><p>Send all details (Machine Vulnerabilities, Missing KBs, Security Recommendations, Alerts, Software Inventory) from a compromised Machine and send it via Teams:</p><p><a href="https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Get-MachineData-EDR-SOAR-ActionsOnMachine">https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Get-MachineData-EDR-SOAR-ActionsOnMachine</a></p><p><br /></p><p>Send scheduled report focused on Cost Management:</p><p><a href="https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Send-IngestionCostAlert">https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Send-IngestionCostAlert</a></p><p><br /></p><p>Start Packet Capture from a compromised Machine:</p><p><a href="https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Run-AzureVMPacketCapture">https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Run-AzureVMPacketCapture</a></p><p><br /></p><p>Send scheduled report focused on Connector Heath:</p><p><a href="https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Send-ConnectorHealthStatus">https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Send-ConnectorHealthStatus</a></p><p><br /></p><p>Restrict App Execution in a compromised Machine:</p><p><a href="https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Restrict-MDATPAppExectution">https://github.com/Azure/Azure-Sentinel/tree/master/Playbooks/Restrict-MDATPAppExectution</a></p><div class="social-details" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; color: rgba(0, 0, 0, 0.9); font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif; font-size: 16px; margin: 0px; padding: 0px; vertical-align: baseline;"><div class="social-action-counts" style="-webkit-box-align: center; align-items: center; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; display: flex; margin: 8px 0px 0px; padding: 0px 16px; vertical-align: baseline;"><a aria-label="97 Reactions" class="social-counts-reactions__social-counts-item social-action-counts__social-counts-item" data-tracking-control-name="pulse-article_social-details_social-action-counts_likes-text" data-tracking-will-navigate="" href="https://www.linkedin.com/signup/cold-join?session_redirect=https%3A%2F%2Fwww%2Elinkedin%2Ecom%2Fpulse%2F12-soar-use-cases-sentinel-priscila-viana&trk=pulse-article_social-details_social-action-counts_likes-text" style="-webkit-box-align: center; align-items: center; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; box-sizing: border-box; color: rgba(0, 0, 0, 0.6); display: flex; font-size: 1.2rem; line-height: 1.33333; margin: 0px 0px 0px 4px; padding: 0px; text-decoration-line: none; vertical-align: baseline;" target="_self"></a></div></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-32894457210539720092021-09-06T03:59:00.003-07:002021-09-18T06:31:13.775-07:00Backup objects into another vault in another subscription<p><b><span style="font-size: medium;"> How to: Backup objects into another vault in another subscription</span></b></p><p>In this section, I'm getting the secret values and saving them into another vault directly. We want to do this without touching any disk files.</p><div>With this approach, we're simply fetching all secrets from Vault1 in Subscription1, and saving them to Vault2 in Subscription2. However, remember that the secrets we fetch now are not encrypted to your subscription, hence it's not a good idea to persist them in memory, sessions or disk. Here I'm not saving it to any variables.</div><p>Make sure you have installed<b> Azure CLI</b> for windows in order to run the below script.</p><p><br /></p><p><span style="color: #3d85c6;">Param(</span></p><p><span style="color: #3d85c6;"> [parameter(mandatory)] [string] $sourceVaultName,</span></p><p><span style="color: #3d85c6;"> [parameter(mandatory)] [string] $sourceSubscriptionId,</span></p><p><span style="color: #3d85c6;"> [parameter(mandatory)] [string] $destinationVaultName,</span></p><p><span style="color: #3d85c6;"> [parameter(mandatory)] [string] $destinationSubscriptionId,</span></p><p><span style="color: #3d85c6;"> [string] $destinationSecretsDisable = $true</span></p><p><span style="color: #3d85c6;">)</span></p><p><span style="color: #3d85c6;"><br /></span></p><p><span style="color: #3d85c6;"># 1. Set the source subscription id. </span></p><p><span style="color: #3d85c6;">Write-Host "Setting origin subscription to: $($sourceSubscriptionId)..."</span></p><p><span style="color: #3d85c6;">az account set -s $sourceSubscriptionId</span></p><p><span style="color: #3d85c6;"><br /></span></p><p><span style="color: #3d85c6;"># 1.1 Get all secrets</span></p><p><span style="color: #3d85c6;">Write-Host "Listing all origin secrets from vault: $($sourceVaultName)"</span></p><p><span style="color: #3d85c6;">$originSecretKeys = az keyvault secret list --vault-name $sourceVaultName -o json --query "[].name" | ConvertFrom-Json</span></p><p><span style="color: #3d85c6;"><br /></span></p><p><span style="color: #3d85c6;"># 1.3 Loop the secrets, and push the value to the destination vault without instantiating new variables.</span></p><p><span style="color: #3d85c6;">$originSecretKeys | ForEach-Object {</span></p><p><span style="color: #3d85c6;"> $secretName = $_</span></p><p><span style="color: #3d85c6;"> Write-Host " - Getting '$($secretName)' from origin, and setting in destination..."</span></p><p><span style="color: #3d85c6;"> az keyvault secret set --name $secretName --vault-name $destinationVaultName -o none --value(az keyvault secret show --name $secretName --vault-name $sourceVaultName -o json --query "value")</span></p><p><span style="color: #3d85c6;">}</span></p><p><span style="color: #3d85c6;"><br /></span></p><p><span style="color: #3d85c6;">Write-Host "Secrets restored."</span></p><p><span style="background-color: #eeeeee;"><br /></span></p><p><span style="background-color: white;">You can call the above script as mentioned below</span></p><p><span style="color: #6fa8dc;"><span style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; word-spacing: normal;"><span style="font-size: x-small;">.\CopySecretsToAnotherVault.ps1 -originVault "vault1-name" -originSubscriptionId "SUBSCRIPTION GUID" -destinationVault "vault2-name" </span></span><span style="font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; word-spacing: normal;"><span style="font-size: x-small;">-destinationSubscriptionId "SUBSCRIPTION GUID"</span></span></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-46017781416608425642021-09-06T01:33:00.006-07:002021-09-18T06:31:36.490-07:00Passing Keyvault certificates to Virtual Machine deployment using ARM template<p> </p><h1 id="referencingsecretsinanarmtemplate" style="background-color: white; border: 0px; box-sizing: inherit; color: #090a0b; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.25em; margin: 0.8em 0px 0.4em; min-width: 100%; padding: 0px; text-rendering: optimizelegibility; vertical-align: baseline;"><span style="font-size: small;">Referencing certificate from keyvault in an ARM template</span></h1><p>You need to make sure all parameters are passed</p><div style="font-family: Consolas, "Courier New", monospace; font-size: 12px; line-height: 16px; white-space: pre;"><div style="background-color: #fffffe;"><span style="color: #a31515;">"virtualMachineProfile"</span>: {</div><div style="background-color: #fffffe;"> <span style="color: #a31515;">"osProfile"</span>: {</div><div style="background-color: #fffffe;"> <span style="color: #a31515;">"computerNamePrefix"</span>: <span style="color: #0451a5;">"[variables('compnamepref')]"</span>,</div><div style="background-color: #fffffe;"> <span style="color: #a31515;">"adminUsername"</span>: <span style="color: #0451a5;">"[variables('adminUPN')]"</span>,</div><div style="background-color: #fffffe;"> <span style="color: #a31515;">"adminPassword"</span>: <span style="color: #0451a5;">"[variables('adminpswd')]"</span>,</div><div style="background-color: #fffffe;"> <span style="color: #a31515;">"windowsConfiguration"</span>: {</div><div style="background-color: #fffffe;"> <span style="color: #a31515;">"provisionVMAgent"</span>: <span style="color: #0451a5;">true</span>,</div><div style="background-color: #fffffe;"> <span style="color: #a31515;">"enableAutomaticUpdates"</span>: <span style="color: #0451a5;">false</span></div><div style="background-color: #fffffe;"> },</div><div><span style="background-color: #fffffe;"> </span><span style="background-color: #b6d7a8;"><span style="color: #a31515;">"secrets"</span>: [</span></div><div><span style="background-color: #b6d7a8;"> {</span></div><div><span style="background-color: #b6d7a8;"> <span style="color: #a31515;">"sourceVault"</span>: {</span></div><div><span style="background-color: #b6d7a8;"> <span style="color: #a31515;">"id"</span>: <span style="color: #0451a5;">"[resourceId(parameters('RG'), 'Microsoft.KeyVault/vaults', parameters('vaultName'))]"</span></span></div><div><span style="background-color: #b6d7a8;"> },</span></div><div><span style="background-color: #b6d7a8;"> <span style="color: #a31515;">"vaultCertificates"</span>: [</span></div><div><span style="background-color: #b6d7a8;"><span> </span><span> </span><span> </span><span> </span><span> </span>{</span></div><div><span style="background-color: #b6d7a8;"> <span style="color: #a31515;">"certificateUrl"</span>: <span style="color: #0451a5;">"[parameters('Cert1')]"</span>,</span></div><div><span style="background-color: #b6d7a8;"> <span style="color: #a31515;">"certificateStore"</span>: <span style="color: #0451a5;">"My"</span></span></div><div><span style="background-color: #b6d7a8;"> },</span></div><div><span style="background-color: #b6d7a8;"> {</span></div><div><span style="background-color: #b6d7a8;"> <span style="color: #a31515;">"certificateUrl"</span>: <span style="color: #0451a5;">"[parameters('</span><span style="color: #0451a5;">Cert2</span><span style="color: #0451a5;">')]"</span>,</span></div><div><span style="background-color: #b6d7a8;"> <span style="color: #a31515;">"certificateStore"</span>: <span style="color: #0451a5;">"My"</span></span></div><div><span style="background-color: #b6d7a8;"> }</span></div><div><span style="background-color: #b6d7a8;"> ]</span></div><div style="background-color: #fffffe;"> }</div><div style="background-color: #fffffe;"> ]</div></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-80708349417297230582021-08-24T00:51:00.006-07:002021-09-18T06:32:18.615-07:00Purging a soft deleted Azure APIM - API Management<p> First you need to run the below script to get all soft deleted apims so that the details can be passed to the delete method which we will run after this. The output printed on powershell window is trimmed and hence I'm writing the response to an output file.</p><p><span style="color: #073763;"><b>#GET Request- To list all soft deleted apims in a specific subscription</b></span></p><p><span style="background-color: #f3f3f3;"><span style="color: #073763;">$token = Get-AzAccessToken</span></span></p><p><span style="background-color: #f3f3f3;"><span style="color: #073763;">$request = @{</span></span></p><p><span style="background-color: #f3f3f3;"><span style="color: #073763;"> Method = 'GET'</span></span></p><p><span style="background-color: #f3f3f3;"><span style="color: #073763;"> Uri = "https://management.azure.com/subscriptions/{</span><span style="color: #990000;">subscriptionId</span><span style="color: #073763;">}/providers/Microsoft.ApiManagement/deletedservices?api-version=2020-06-01-preview"</span></span></p><p><span style="background-color: #f3f3f3;"><span style="color: #073763;"> Headers = @{</span></span></p><p><span style="background-color: #f3f3f3;"><span style="color: #073763;"> Authorization = "Bearer $($token.Token)"</span></span></p><p><span style="background-color: #f3f3f3;"><span style="color: #073763;"> }</span></span></p><p><span style="background-color: #f3f3f3;"><span style="color: #073763;">}</span></span></p><p><span style="background-color: #f3f3f3;"><span style="color: #073763;">Invoke-RestMethod @request -OutFile c:\apimoutput.txt</span></span></p><p><br /></p><p><b style="color: #073763;">#DELETE Request- This will purge the soft deleted apim </b></p><p><b style="color: #073763;"><br /></b></p><p><span style="background-color: #f3f3f3; color: #073763;">$token = Get-AzAccessToken</span></p><p><span style="background-color: #f3f3f3; color: #073763;">$request = @{</span></p><p><span style="background-color: #f3f3f3; color: #073763;"> Method = 'DELETE'</span></p><p><span style="background-color: #f3f3f3; color: #073763;"> Uri = "https://management.azure.com/subscriptions/</span><span style="background-color: #f3f3f3; color: #073763;">{</span><span style="background-color: #f3f3f3;"><span style="color: #990000;">subscriptionId</span></span><span style="background-color: #f3f3f3; color: #073763;">}</span><span style="background-color: #f3f3f3; color: #073763;">/providers/Microsoft.ApiManagement/locations/{</span><span style="background-color: #f3f3f3; color: #990000;">Location</span><span style="background-color: #f3f3f3; color: #073763;">}/deletedservices/{</span><span style="background-color: #f3f3f3; color: #990000;">APIMName</span><span style="background-color: #f3f3f3; color: #073763;">}?api-version=2020-06-01-preview"</span></p><p><span style="background-color: #f3f3f3; color: #073763;"> Headers = @{</span></p><p><span style="background-color: #f3f3f3; color: #073763;"> Authorization = "Bearer $($token.Token)"</span></p><p><span style="background-color: #f3f3f3; color: #073763;"> }</span></p><p><span style="background-color: #f3f3f3; color: #073763;">}</span></p><p><span style="background-color: #f3f3f3; color: #073763;">Invoke-RestMethod @request</span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-23665612624733116972021-08-24T00:42:00.004-07:002021-09-18T06:32:37.800-07:00Version an API in Azure API Management using Azure Resource Manager<div style="text-align: left;"><span style="background-color: white; color: #242729; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Liberation Sans", sans-serif;"><span style="font-size: x-small;">When creating a new API in an Azure API Management Service using the portal, you can specify whether you would like the API to be versioned</span></span></div><p><span style="background-color: white; color: #242729; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Liberation Sans", sans-serif; font-size: 15px;"><br /></span></p><div style="text-align: left;"><span style="background-color: white;"><span style="color: #242729; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Liberation Sans, sans-serif; font-size: x-small;">To achieve this through ARM scripts you'll need to create an <b>ApiVersionSet </b>resource first:</span></span></div><pre style="border-radius: 5px; border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;"><code style="background-color: #eeeeee; border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">{
"name": "[concat(variables('ManagementServiceName'), '/', variables('VersionSetName'))]",
"type": "Microsoft.ApiManagement/service/api-version-sets",
"apiVersion": "2017-03-01",
"properties": {
"description": "Api Description",
"displayName": "Api Name",
"versioningScheme": "Segment"
}
}</code></pre><pre style="border-radius: 5px; border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;"><code style="border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><br /></code></pre><pre style="border-radius: 5px; border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;"><code style="border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><p style="background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Liberation Sans", sans-serif; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: var(--s-prose-spacing); margin-left: 0px; margin-right: 0px; margin-top: 0px; padding: 0px; vertical-align: baseline; white-space: normal;"><span style="font-size: x-small;"><span style="font-weight: inherit;">Then update the </span><b><code style="background-color: var(--black-075); border-radius: 3px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 2px 4px; vertical-align: baseline; white-space: pre-wrap;">apiVersionSetId</code> </b><span style="font-weight: inherit;">property on the </span><code style="background-color: var(--black-075); border-radius: 3px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 2px 4px; vertical-align: baseline; white-space: pre-wrap;"><b>Microsoft.ApiManagement/service/apis</b></code><span style="font-weight: inherit;"> resource:</span></span></p><div style="font-size: 13px; font-weight: inherit;"><br /></div><div style="font-size: 13px; font-weight: inherit;"><pre style="border-radius: 5px; border: 0px; box-sizing: inherit; color: var(--highlight-color); font-family: var(--ff-mono); font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: 1.30769; margin-bottom: 0px; margin-top: 0px; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px; vertical-align: baseline; width: auto;"><code style="background-color: #eeeeee; border-radius: 0px; border: 0px; box-sizing: inherit; color: var(--black-800); font-family: var(--ff-mono); font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;">{
"type": "Microsoft.ApiManagement/service/apis",
"name": "[concat(variables('ManagementServiceName'), '/', variables('ApiName'))]",
"apiVersion": "2017-03-01",
"dependsOn": [
"[resourceId('Microsoft.ApiManagement/service/api-version-sets', variables('ManagementServiceName'), variables('VersionSetName'))]"
],
"properties": {
"displayName": "string",
"apiRevision": "1",
"description": "",
"serviceUrl": "string",
"path": "string",
"protocols": [
"https"
],
"isCurrent": true,
"apiVersion": "v1",
"apiVersionName": "v1",
"apiVersionDescription": "string",
"apiVersionSetId": "[concat('/api-version-sets', variables('VersionSetName'))]"
}
}</code></pre></div></code></pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5759525826913982471.post-16692477213280864612021-08-24T00:37:00.004-07:002021-09-18T06:32:56.275-07:00Cloud Maker- Allowing all azure services to access resources<p> Cloud Maker- Allowing all azure services to access resources. While creating SQL Server droplet or other resources, if you would like to enable all azure services to access your resource then you can achieve that through firewall rules as shown in the below screenshot.</p><p><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX-gY6loW4JUgaKbyKENuLbwlpuDvxYzZWGS2tamhJi54fC8ZdQiuLZCmBC7HBWMLJ9_yFp2SkDrsAXnaf37kDDqEvxTta6A9D5L28-_aoZkCgVO_1muoVRQlc5o1Ahl50OYWWjSf7DTU/s1696/AllowAzureServices.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1696" data-original-width="1380" height="473" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX-gY6loW4JUgaKbyKENuLbwlpuDvxYzZWGS2tamhJi54fC8ZdQiuLZCmBC7HBWMLJ9_yFp2SkDrsAXnaf37kDDqEvxTta6A9D5L28-_aoZkCgVO_1muoVRQlc5o1Ahl50OYWWjSf7DTU/w384-h473/AllowAzureServices.png" width="384" /></a></div><br /><p><br /></p><p><br /></p><p><br /></p>Unknownnoreply@blogger.com0