Office 365 グループにPower Appsを共有するためのメモ
まずはPower ShellのAzure AD V2 moduleをインストールする。
https://docs.microsoft.com/ja-jp/azure/active-directory/enterprise-users/groups-settings-v2-cmdlets
次に対象となるグループのIDを取得する
https://aad.portal.azure.com Azure AD Portalか、Teamsのチャンネルへのリンクを取得した際のgroupIDでもよい
チャンネルのリンクは以下のようになっているので、ここからgroupIdを取得できる
https://teams.microsoft.com/l/channel/19%3a956e89d4c2a0xxxxxxxx1a8d696d172fa%40thread.tacv2/General?groupId=b410c32f-c4a4-4ce3-xxxxx-d0xxxxxxe22&tenantId=64e5ad32-cb04-xxxxxx-8896-bed5d7792429
Power Shellを起動してAzure ADに接続する
Connect-AzureAD
最後に対象のグループIDに対して以下のコマンドを発行する
Set-AzureADGroup -ObjectId ここにグループID -SecurityEnabled $true
以下のコマンドで結果を確認する
Get-AzureADGroup -ObjectId ここにグループID |lf
https://idea.tostring.jp/?p=5094