- 概要
- Excel
- リリース ノート
- Excel アクティビティ パッケージについて
- プロジェクトの対応 OS
- サポートされている文字エンコード
- プロジェクト設定
- Excel の秘密度ラベルを追加または更新
- 範囲を追加
- オートフィル
- 範囲を自動調整
- ピボット テーブルのデータ ソースを変更
- シート/範囲/テーブルをクリア
- 範囲をコピー/貼り付け
- ピボット テーブルを作成
- 列を削除
- 行を削除
- シートを削除
- シートを複製
- CSV にエクスポート
- 範囲をフィル
- フィルター
- ピボット テーブルをフィルター
- 最初/最後のデータ行を検索
- 値を検索/置換
- 繰り返し (Excel の各行)
- 繰り返し (Excel の各シート)
- テーブルとして書式設定
- セルを書式設定
- セルの色を取得
- Excel グラフを取得
- Excel の秘密度ラベルを取得
- 選択範囲を取得
- 列を挿入
- グラフを挿入
- 行を挿入
- シートを挿入
- VBA を呼び出し
- LOOKUP
- MATCH 関数
- シートを保護
- セルの数式を読み込み
- セルの値を読み込み
- 範囲を読み込み
- Excel のデータ接続を更新
- ピボット テーブルを更新
- 重複を削除
- シート名を変更
- スプレッドシートのマクロを実行
- Excel ファイルを保存
- 名前を付けて Excel ファイルを保存
- Excel ファイルを PDF として保存
- 範囲を選択
- 範囲を並べ替え
- テキストを列に分割
- シートの保護を解除
- Excel グラフを更新
- Excel ファイルを使用
- VLOOKUP
- セルに書き込み
- CSV に書き込み
- データ テーブルを Excel に書き込み
- Excel アプリケーション スコープ
- CSV に追加
- CSV を読み込み
- CSV に書き込み
- 列を削除
- 表をフィルター
- 表の範囲を取得
- 列を挿入
- 表を並べ替え
- 範囲を追加
- ブックを閉じる
- セルの色を取得
- セルを読み込み
- セルの数式を読み込み
- 列を読み込み
- 範囲を読み込み
- 行を読み込み
- 範囲を選択
- 範囲の色を設定
- セルに書き込み
- 範囲に書き込み
- ブックを保存
- 表を作成
- ブックのシートを取得
- ブックの全シートを取得
- ピボット テーブルを更新
- ピボット テーブルを作成
- 選択範囲を取得
- シートをコピー
- 範囲を削除
- 範囲をオートフィル
- 範囲をコピー/貼り付け
- マクロを実行
- 列を挿入/削除
- 行を挿入/削除
- VBA を呼び出し
- 範囲内で検索
- 重複行を削除
- Excel プロセス スコープ
- Google Workspace
- リリース ノート
- Google Workspace アクティビティ パッケージについて
- プロジェクトの対応 OS
- 参加者を追加
- イベント/予定を作成
- イベント/予定を削除
- イベント/予定を変更
- イベント/予定を検索
- Google ドライブを使用
- ファイルを共有
- ファイル アクセス許可を削除
- ファイル アクセス許可を取得
- ファイル アクセス許可を更新
- ファイルをコピー
- フォルダーを作成
- ファイルを削除
- ファイルをダウンロード
- ファイルやフォルダーを探す
- ファイル情報を取得
- ファイルを移動
- ファイルをアップロード
- ドキュメントを作成
- 新しいスプレッドシートを作成
- メール メッセージを取得
- メール メッセージを送信
- ラベルを変更
- Google スプレッドシートを使用
- 列を追加または削除
- 行を追加または削除
- 範囲をオートフィル
- 新しいシートを追加
- 行を追加
- スプレッドシートを一括更新
- シートをコピー
- 範囲をコピー/貼り付け
- 範囲を削除
- シートを削除
- セルの色を取得
- シートを取得
- セルを読み込み
- 列を読み込み
- 範囲を読み込み
- 行を読み込み
- シート名を変更
- セルに書き込み
- 範囲に書き込み
- 範囲をクリア
- スプレッドシートをダウンロード
- Google ドキュメントを使用 (Use Google Document)
- ドキュメントを一括更新 (Batch Document Updates)
- ドキュメントを取得 (Get Document)
- テキスト インデックスを取得 (Get Text Index)
- テキストを挿入
- テキストを置換
- すべてのテキストを読み込み
- スクリプト プロジェクトを作成
- プロジェクトのコンテンツを取得 (Get Project Content)
- スクリプト ファイルをアップロード
- デプロイを作成
- スクリプトを実行
- メール
- Microsoft 365
- リリース ノート
- About the Microsoft 365 activity package
- How to connect to Microsoft 365 activities
- プロジェクトの対応 OS
- Set up your Microsoft 365 Azure application
- Integration Service のコネクタを設定する
- Microsoft Office 365 スコープ
- シートを追加
- 範囲を追加
- 範囲をクリア
- 範囲をコピー
- シートをコピー
- ブックを作成
- 範囲を削除
- シートを削除
- セルの色を取得
- シートを取得
- セルを読み込み
- 列を読み込み
- 範囲を読み込み
- 行を読み込み
- シート名を変更
- セルに書き込み
- 範囲に書き込み
- 範囲の色を設定
- 表を作成
- 表の範囲を取得
- 列を挿入
- 列を削除
- 行を挿入
- 行を削除
- VLOOKUP で範囲を検索
- OneDrive と SharePoint を使用
- ファイル/フォルダーをコピー
- フォルダーを作成
- ファイル/フォルダーを削除
- ファイルをダウンロード
- ファイルを PDF としてエクスポート
- ファイルやフォルダーを探す
- ファイル/フォルダーを取得
- ファイル/フォルダーを移動
- ファイルをアップロード
- ファイル/フォルダーを共有
- 繰り返し (ファイル/フォルダー)
- メールを転送
- メールを取得
- メールを移動
- メールを送信
- メールに返信
- メールを削除 (Delete Mail)
- メールのカテゴリを設定
- 添付ファイルを追加
- 参加者を追加
- 場所を追加
- イベント/予定を作成
- イベント/予定を削除
- 会議日時を検索
- 予定表を取得
- イベント/予定を変更
- 出欠確認 (RSVP)
- イベント/予定を検索
- グループを作成
- グループを削除
- グループを取得
- グループ リストを表示
- バケットを作成
- バケットを削除
- バケットのリストを取得
- バケットのタスクのリストを取得
- プランを作成
- プランを取得
- プランのリストを取得
- タスクを作成
- タスクを削除
- タスクを取得
- タスクのリストを取得
- タスクを更新
- 繰り返し (各リスト)
- リストの情報を取得
- 繰り返し (各リスト アイテム)
- リスト アイテムを削除
- リスト アイテムを追加
- リストの項目を更新
- リスト アイテムを取得
- プレゼンテーション
- Word
Set up your Microsoft 365 Azure application
Microsoft 365 クラシック アクティビティを有効化するには、アプリケーションを Microsoft ID プラットフォームと統合し、適切な Microsoft Graph API アクセス許可を割り当てる必要があります。
アプリケーションを統合し、アクセス許可を割り当て、オートメーション プロジェクトの構築に着手するには、以下の手順を実行します。
- アプリケーションを登録する
- API のアクセス許可を追加する
- プロジェクトをビルドする
Microsoft 365 アプリケーションを登録すると、Azure Active Directory は一意のアプリケーション (クライアント) ID を割り当てます。この ID を、アクセス許可を割り当てたサービス (ファイル、メール、予定表など) とともに [Microsoft 365 スコープ] アクティビティに入力します。
- 個人、会社、または学校の Microsoft 365 アカウントを使って Azure ポータルにサインインします。
- 左側のナビゲーション パネルにある [Azure Active Directory] をクリックします。
- [Azure Active Directory] のページが開いたら、[アプリの登録] をクリックします。
-
上部のナビゲーションバーで [+ 新規登録] をクリックします。
- アプリケーションの [名前] を入力します (例: "Office365App")。
-
Under Supported account types, select the option that applies to you. For more information about which option to select, refer to Who can sign in to you app?:
- Accounts in this organizational directory only - Use this option if your target audience is internal to your organization. This represents a single tenant application.
- Accounts in any organizational directory (Any Azure AD directory - Multitenant) - Use this option if your target audience is business or educational customers. This represents a multitenant application.
- Accounts in any organizational directory and personal Microsoft accounts (e.g. Skype, Xbox) - Use this option to target the widest set of Microsoft identities. This represents a multitenant application.
-
Under Redirect URI (optional), enter a URI address (if applicable). The Microsoft Authentication Library (MSAL.NET) uses a default redirect URI:
https://login.microsoftonline.com/common/oauth2/nativeclient
. This value will likely work for you when using the Interactive Token authentication type.- Your selection is dependent on your authentication type. For more information on this topic, see How to connect to Microsoft 365 activities).
- In our example, the organization supports multi-tenant authentication and can only use the Interactive Token authentication type which requires a redirect URI.
- If you use Interactive Token and the default Microsoft Redirect URI, you must add a platform of type Mobile and desktop applications. For more information, see Configure platform settings in the Microsoft documentation.
- If your authentication type is Integrated Windows Authentication or Username and Password, you don't need to register a redirect URI for your application. These flows do a round trip to the Microsoft identity platform v2.0 endpoint, and your application won't be called back on any specific URI.
-
When working with Microsoft 365 in a UiPath Studio project targeting .NET 5.0, add
http://localhost
to the Redirect URI of your custom applications.詳細については、Microsoft ID プラットフォームのドキュメントのデスクトップ アプリの登録に関する項をご覧ください。
-
Select Register. An example configuration is available in the image below.注: この設定は一例に過ぎません。ドキュメントに記載された手順に従い、組織のポリシーに基づいて設定を選択してください。
これで完了です。それでは、登録したアプリケーションに API アクセス許可を割り当てましょう。
- 登録済みアプリケーションのページ (Azure Portal > Azure Active Directory > アプリの登録 > Office365App) の左側ナビゲーション パネルにある [API のアクセス許可] を選択します。
- [API のアクセス許可] ページが開いたら、[+ アクセス許可の追加] をクリックします ([API アクセス許可の要求] ウィンドウが開きます)。
- [API を選択します] の下の [Microsoft API] をクリックします (既定で開いている場合もあります)。
-
[よく使用される Microsoft API] の下の [Microsoft Graph] をクリックします。
-
Under What type of permissions does your application require?, click Delegated permissions or Application permissions to show the list of permissions. Select Application permissions if you are using ApplicationIdAndSecret or ApplicationIdAndCertificate authentication type. The other authentication types available in Microsoft 365 Scope activity require Delegated permissions.
アクセス許可の種類について詳しくは、Microsoft Azure のドキュメント「クイック スタート: Web API にアクセスするようにクライアント アプリケーションを構成する」をご覧ください。
-
検索バーを使用するか、アルファベット順のリストをスクロールして、以下のアクセス許可を選択します。Note: These permissions are not all mandatory. The provided list represents the complete set of permissions required to run all Microsoft 365 activities. You can restrict permissions depending on your particular use case. Check out the activities documentation pages to learn what permissions they need.
-
予定表/カレンダー
- Calendars.Read
- Calendars.ReadWrite
-
ファイル
- Files.Read
- Files.Read.All
- Files.ReadWrite
- Files.ReadWrite.All
-
サイト
- Sites.Read.All
- Sites.ReadWrite.All
-
メール
- Mail.Read
- Mail.ReadWrite
- Mail.Send
- ユーザー
- User.Read
-
Shared (scopes needed to access resources that are shared with, but not owned by, the user.)
- Mail.Read.Shared
- Mail.ReadWrite.Shared
- Mail.Send.Shared
- Calendars.Read.Shared
- Calendars.ReadWrite.Shared
-
Select Add permissions to return to your list of API permissions.
-
-
Make sure your API permissions include your added Calendars, Files, User, and Mail permissions.
-
新しいオートメーション プロジェクトを作成します。
-
UiPath Studio を開きます。
-
Under New Project, click Process. This opens a New Blank Process window.
-
プロジェクトの [名前]、[場所]、[説明] を入力します。
-
[対応 OS] を選択します。既定では Windows が選択されています。
-
[作成] をクリックします。
-
-
UiPath.MicrosoftOffice365.Activities パッケージをインストールします。
- From the Design ribbon, select Manage Packages.
- [すべてのパッケージ] の下の [検索] バーに、「Office 365」または「Microsoft」と入力します。
- Select the package version you want, then select Install.
- [保存] ボタンをクリックします。
これで完了です。 以上で設定が完了したので、プロジェクトへの Microsoft 365 アクティビティの追加を開始できます。
アクティビティの実践的な使い方を学び、すぐに使用を開始するには「クイックスタート」のページをご覧ください。これらのガイドには、各種アクティビティの実用的なサンプルを作成するためのステップバイステップの手順が記載されており、登録済みのアプリケーションへの接続を確認したり、入/出力プロパティに習熟したりすることができます。
To learn more about the Microsoft 365 activities (including example property inputs/outputs), see the Classic activities for a complete list and links to the activity detailed pages.