pnp/cli-microsoft365

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

开放

#5,990 创建于 2024年4月23日

 (6 条评论) (2 个反应) (0 位负责人)TypeScript (399 个派生)auto 404
enhancementhelp wantedkeep-open

仓库指标

星标
 (1,390 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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'

贡献者指南