1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

SharePoint サイトの通知設定をPower Queryで一覧化

Last updated at Posted at 2021-07-04

概要

SharePointの通知設定、個人の設定は見ること可能なんですが、サイト一覧を見る方法が見つからなかったので、Power Queryで一覧化してみたメモ

結果の例

image.png

やり方

  1. Urlを替えやすいように、Excel内でTable定義
    image.png

  2. Alertsの取得

    = OData.Feed("{サイトURL}/_api/web/alerts", null, [Implementation="2.0"])

<code>= OData.Feed((Excel.CurrentWorkbook(){[Name="ShareSettings"]}[Content]){0}[対象URL] & "/_api/web/alerts", null, [Implementation="2.0"])</code>

image.png

  1. Usersの取得

    = OData.Feed("{サイトURL}/_api/web/siteusers", null, [Implementation="2.0"])
<code>= OData.Feed((Excel.CurrentWorkbook(){[Name="ShareSettings"]}[Content]){0}[対象URL] & "/_api/web/siteusers", null, [Implementation="2.0"])</code>

image.png

  1. 上二つをマージして終わり
    image.png
    Enumのままだとわかりにくいので、Table でEnum定義して、変換かけると少しわかりやすくなります。

description

how to display sharepoint alert settings by power query

参考情報

  • Enumの定義

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?