オフィススクリプトのプラットフォーム制限と要件 – オフィススクリプト

Office Scriptsを利用するには、特定のExcelバージョン(ウェブ版、Windows版2210以降、Mac版)やMicrosoft 365のビジネスライセンスが必要です。データの制限としては、リクエストとレスポンスは5MB、セルの範囲は500万セルに制限されています。また、Power Automateを使う際、外部APIの呼び出しは失敗します。Teamsではウェブ版でのみサポートされています。条件付きアクセスにより、未管理デバイスからのスクリプトへのアクセスが制限されることもあります。

Office Scriptsに関するプラットフォーム制限について

Office Scriptsを開発する際には、いくつかのプラットフォーム制限に注意する必要があります。この記事では、ExcelのOffice Scriptsにおけるブラウザのサポートやデータ制限について詳しく解説します。

プラットフォームのサポート

Office Scriptsを使用するには、以下の条件を満たす必要があります。

  1. サポートされているExcel:

    • Excel on the web、またはExcel for Windows(バージョン2210以上)、Excel for Mac。
  2. OneDrive for Business:

    • OneDrive for Businessのアカウントが必要です。
  3. Microsoft 365サブスクリプションライセンス:

    • Office 365 Business、Office 365 Business Premium、Office 365 ProPlus、Office 365 A3、A5等のいずれかのライセンスが必要です。
  4. インターネット接続:
    • 接続された体験を有効にした状態でインターネットに接続されている必要があります。

重要な注意点

個人および家庭向けのMicrosoft 365サブスクリプションにおいては、Office Scriptsはプレビュー版の状態です。問題が発生した場合は、Excel内のフィードバックボタンを使用して報告してください。

データ制限

Excelデータの転送量やPower Automateでの取引数には制限があります。

Excelの制限

  • リクエストとレスポンスのサイズ: 最大5MBに制限されています。
  • セルの範囲: 最大500万セルまで選択可能です。

これらの制限を超えると、"The response payload size has exceeded the limit."というエラーメッセージが表示されます。

Power Automateの制限

Power Automateを通じてスクリプトを実行する際には、いくつかの特定の制限があります。特に、スクリプトがPower Automateのフローの一部として実行されている場合、外部APIの呼び出しは失敗します。これは、データ損失防止ポリシーを維持するためです。

Teamsと政府クラウドのサポート

TeamsでExcelを使用する場合、Office ScriptsはWeb版Teamsでのみサポートされており、Windows、Mac、iOS、Android版ではサポートされていません。また、Office ScriptsはGCC High以上の政府クラウドでは利用できません。

結論

Office Scriptsを使用する際は、上記のプラットフォームおよびデータに関する制限を理解することが重要です。これにより、開発や操作を行う際のトラブルを避けることができます。さらに、最新の情報については、公式のドキュメントを定期的に確認することをお勧めします。

————-

Platform limits and requirements with Office Scripts – Office Scripts

Source link

The article outlines the platform limitations and requirements for developing Office Scripts in Excel. Key points include:

Platform Support:

  • Office Scripts can be used with Excel on the web, Excel for Windows (from version 2210), or Excel for Mac.
  • A OneDrive for Business account and a Microsoft 365 business subscription (e.g., Office 365 Business, Enterprise, or Education licenses) are necessary.
  • Office Scripts are currently in preview for personal and family Microsoft 365 subscriptions.
  • Users should ensure internet connectivity with connected experiences enabled and that the Automate tab is not disabled by their admin.

Data Limits:

  • Excel on the web has specific limits: script requests/responses are capped at 5MB, and a range can include up to five million cells. Exceeding these results in an error message indicating a payload size limit violation.
  • For Power Automate, external API calls from scripts running in flows fail, and additional Power Automate usage limitations are highlighted.

Additional Limitations:

  • ISO strict Open XML workbooks are not supported in Power Automate, and scripts are not supported in Teams on desktop applications.
  • Office Scripts are not available on GCC High or higher government clouds, and conditional access policies may restrict script access on unmanaged devices.
  • Third-party cookies must be enabled in browsers to display the Automate tab in Excel on the web.

API Compatibility:

  • Users are encouraged to use the correct Excel version to ensure API compatibility, particularly since some scripts might not run in older Excel builds.

Overall, users should be aware of these operational constraints and requirements to effectively utilize Office Scripts in their Excel workflows.

関連記事

コメント

この記事へのコメントはありません。