Skip to content

Commit a6a51b1

Browse files
[testing] (Troubleshooting) Add section about unsupported web APIs (#756)
* [testing] (Troubleshooting) Add section about unsupported web APIs * Adjust format * Apply suggestions from code review Co-authored-by: Alex Jerabek <[email protected]> --------- Co-authored-by: Alex Jerabek <[email protected]>
1 parent 2cb10d1 commit a6a51b1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/testing/power-automate-troubleshooting.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Troubleshoot Office Scripts running in Power Automate
33
description: Tips, platform information, and known issues with the integration between Office Scripts and Power Automate.
44
ms.topic: troubleshooting-general
5-
ms.date: 02/08/2024
5+
ms.date: 08/13/2024
66
ms.localizationpriority: medium
77
---
88

@@ -95,6 +95,12 @@ There are two reasons that the parameters or returned data of a script are not a
9595

9696
The signature of a script is stored with the **Excel Business (Online)** connector when it is created. Remove the old connector and create a new one to get the latest parameters and return values for the **Run script** action.
9797

98+
## Some web APIs not available with Power Automate flows
99+
100+
Some web APIs, such as `TextEncoder` and `Crypto`, may not be available when running Office Scripts in Power Automate flows. See [MDN Web APIs](https://developer.mozilla.org/docs/Web/API) for a full list of web APIs.
101+
102+
Power Automate returns the error `*API* is not defined`, where `*API*` specifies a library such as `TextEncoder`, when running a script that uses an unsupported API.
103+
98104
## See also
99105

100106
- [Troubleshoot Office Scripts](troubleshooting.md)

0 commit comments

Comments
 (0)