8
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

SharePointリストとCopilot Studioを使った問い合わせ管理

Last updated at Posted at 2025-02-13

緒言

"SharePointリストはCopilot Studioのナレッジにならない"と聞いて悲しんでおりましたが、これまで既定の環境で山のようにため込んできたリストのデータをなんとか活用したく検証したら良い感じの結果が得られました。
最近はじめたコミュニティ(部活)の一発目のネタとして取り上げました。

概要

全体像

image.png
Listsのフォームを使っているがアドレスからデータソースがばれたくなかったらFormsを使った方が良いかも。

Listsの例

image.png

Listsのフォームの例

image.png

ポイント

ListsをPDFに変換するフロー

image.png
ごくシンプルにいったんOneDriveにHTMLファイルを作って、PDFに変換してドキュメントライブラリに保存する。非プレミアムでPDFに変換するアクションがOneDriveしかないので。。。

Copilot StudioのApp登録

前述のPDFが保存されたドキュメントライブラリをナレッジに指定して終わったと思ったらそうじゃありませんでした。。。Azureでやらないといけないことがありました。下図のようにGraph APIのアクセス許可を付与する必要あり。1
image.png
※ Copilot Studio側のSecurityのAuthenticationのScopeの設定も忘れずに・・・

結言

超お手軽に生成AIを使った問い合わせ管理システムが組めて他にもいろいろ応用できそうで満足しております。SharePointリストも救えた!

動作↓

  1. https://qiita.com/skuramoto/items/5c9804fb4468e5772b41

8
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?