pnp/cli-microsoft365

Extend the `m365 spe containertype add` with more options to specify application

オープン

#5,990 opened on 2024/04/23

 (6 件のコメント) (2 件のリアクション) (0 人の担当者)TypeScript (399 件のフォーク)auto 404
enhancementhelp wantedkeep-open

Repository metrics

Stars
 (1,390 個のスター)
PR merge metrics
 (PR metrics pending)

説明

in issue #5767 We added a new command m365 spe containertype add that allows only to specify the parent application by applicationId. What we could do is extend this command with new options: applicationName and applicationObjectId. This will allow a more user friendly approach to define new Container Type using names rather than guids.

Internally what we could do is try to resolve the app by name. If more than one will be found CLI should show a prompt (when interactive mode) to pick the correct app by id. After CLI will get the app by name or object id we should use the app id (client id) to create a new Container Type

We should add a remark with something generic like region needs to available for resource type 'Microsoft.Syntex/accounts'

コントリビューターガイド