From 5aba4982c99f5cbdae13785636d31f027723a160 Mon Sep 17 00:00:00 2001 From: Alison McKay Date: Fri, 24 Oct 2025 15:28:58 -0700 Subject: [PATCH 1/3] [Excel] (Platform limits) Add conditional access limit workaround --- docs/testing/platform-limits.md | 10 ++++++---- docs/toc.yml | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/testing/platform-limits.md b/docs/testing/platform-limits.md index ec6a30a0..e318891f 100644 --- a/docs/testing/platform-limits.md +++ b/docs/testing/platform-limits.md @@ -1,14 +1,14 @@ --- -title: Platform limits and requirements with Office Scripts -description: Resource limits and browser support for Office Scripts when used with Excel. +title: Platform limits, requirements, and error messages for Office Scripts +description: Resource limits, browser support, and error messages for Office Scripts when used with Excel. ms.topic: limits-and-quotas -ms.date: 10/03/2024 +ms.date: 10/24/2024 ms.localizationpriority: medium --- # Platform limits and requirements with Office Scripts -There are some platform limitations of which you should be aware when developing Office Scripts. This article details the browser support and data limits for Office Scripts for Excel. +There are some platform limitations of which you should be aware when developing Office Scripts. This article details the browser support, data limits, and error messages you might encounter when using Office Scripts. ## Platform support @@ -91,6 +91,8 @@ Your browser needs third-party cookies enabled to show the **Automate** tab in E [Conditional Access](/azure/active-directory/conditional-access/overview) policies restrict access to SharePoint and OneDrive for [unmanaged devices](/sharepoint/control-access-from-unmanaged-devices). If your device isn't managed by the tenant, you may not have access to specific scripts, or may only be able to access them through the browser. +Tenants that have added [authentication context](/entra/identity/conditional-access/concept-conditional-access-cloud-apps#configure-authentication-contexts) settings with Conditional Access do not support Office Scripts in Excel on the web. If your tenant has an authentication context setting and you encounter an error when trying to create, record, or run an Office Script in Excel on the web, use Excel for Windows or Excel for Mac instead. + If you script is blocked by Conditional Access policies, you receive one of two error messages. These messages also surface in Power Automate if your flow is run from an unmanaged device. - "Due to organizational policies, you can’t access this resource from this untrusted device." diff --git a/docs/toc.yml b/docs/toc.yml index a689d583..15e52c0c 100644 --- a/docs/toc.yml +++ b/docs/toc.yml @@ -136,7 +136,7 @@ items: href: testing/power-automate-troubleshooting.md - name: Improve script performance href: develop/web-client-performance.md - - name: Platform limits + - name: Errors and platform limits href: testing/platform-limits.md - name: TypeScript restrictions href: develop/typescript-restrictions.md From 5dc83283fd3764dc9850b0e39efb055cbfbbb7d3 Mon Sep 17 00:00:00 2001 From: Alison McKay Date: Fri, 24 Oct 2025 15:31:10 -0700 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- docs/testing/platform-limits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/testing/platform-limits.md b/docs/testing/platform-limits.md index e318891f..8c8429d6 100644 --- a/docs/testing/platform-limits.md +++ b/docs/testing/platform-limits.md @@ -93,7 +93,7 @@ Your browser needs third-party cookies enabled to show the **Automate** tab in E Tenants that have added [authentication context](/entra/identity/conditional-access/concept-conditional-access-cloud-apps#configure-authentication-contexts) settings with Conditional Access do not support Office Scripts in Excel on the web. If your tenant has an authentication context setting and you encounter an error when trying to create, record, or run an Office Script in Excel on the web, use Excel for Windows or Excel for Mac instead. -If you script is blocked by Conditional Access policies, you receive one of two error messages. These messages also surface in Power Automate if your flow is run from an unmanaged device. +If your script is blocked by Conditional Access policies, you receive one of two error messages. These messages also surface in Power Automate if your flow is run from an unmanaged device. - "Due to organizational policies, you can’t access this resource from this untrusted device." - "We can't find this script. It may have been deleted by another user." (If your version of Excel is older.) From 3458eb5c3720cf881ab9d1388b63125c662857f4 Mon Sep 17 00:00:00 2001 From: Alison McKay Date: Fri, 24 Oct 2025 15:44:52 -0700 Subject: [PATCH 3/3] Apply suggestions from code review Co-authored-by: Sam Ramon <15154970+samantharamon@users.noreply.github.com> --- docs/testing/platform-limits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/testing/platform-limits.md b/docs/testing/platform-limits.md index 8c8429d6..29fb929d 100644 --- a/docs/testing/platform-limits.md +++ b/docs/testing/platform-limits.md @@ -91,7 +91,7 @@ Your browser needs third-party cookies enabled to show the **Automate** tab in E [Conditional Access](/azure/active-directory/conditional-access/overview) policies restrict access to SharePoint and OneDrive for [unmanaged devices](/sharepoint/control-access-from-unmanaged-devices). If your device isn't managed by the tenant, you may not have access to specific scripts, or may only be able to access them through the browser. -Tenants that have added [authentication context](/entra/identity/conditional-access/concept-conditional-access-cloud-apps#configure-authentication-contexts) settings with Conditional Access do not support Office Scripts in Excel on the web. If your tenant has an authentication context setting and you encounter an error when trying to create, record, or run an Office Script in Excel on the web, use Excel for Windows or Excel for Mac instead. +Tenants that have added [authentication context](/entra/identity/conditional-access/concept-conditional-access-cloud-apps#configure-authentication-contexts) settings with Conditional Access don't support Office Scripts in Excel on the web. If your tenant has an authentication context setting and you encounter an error when trying to create, record, or run an Office Script in Excel on the web, use Excel for Windows or Excel for Mac instead. If your script is blocked by Conditional Access policies, you receive one of two error messages. These messages also surface in Power Automate if your flow is run from an unmanaged device.