Extend the `m365 spe containertype add` with more options to specify application
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 413
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 21
Description
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'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the m365 spe containertype add command implementation and review issue #5767 for the existing applicationId behavior. Done means the command accepts applicationName and applicationObjectId, resolves names with interactive selection when ambiguous, uses the resulting application ID, and includes the requested region remark.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100