0
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 1 year has passed since last update.

Microsoft365管理センターのユーザ情報からのメールアドレス取得

Last updated at Posted at 2023-10-25

はじめに

なんか毎回関数書いていて面倒くさくなったのでコピペでできるようにメモ。

手順

1.アクティブユーザからユーザ一覧EXPORT
https://admin.microsoft.com/#/users

2.EXCELでCSVを開く or 読み込み

3.関数記述
AG列

=FIND("SMTP:",W2,1)

AH列

=IFERROR(FIND("+smtp:",W2,AG2+1),LEN(W2)+5)

AI列

=MID(W2,AG2+5,AH2-AG2-5)

4.あとはダブルクリックで下までコピー

終わりに

大文字の「SMTP:」部分がプライマリメールアドレスになる。
EXCHANGEのメールボックスから一覧出力すると情報が足りないんだよね。

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