Open MartinM85 opened 3 weeks ago
Nice spec @MartinM85, the only thing I would change is the description. Defines the directory extension
doesn't say much in my opinion. Let's try something like Adds a new directory extension
or Creates a new directory extension
.
Are you willing to implement this? Or should we open it up?
I'd like to remind you that we require all new commands to be using a ZOD scheme. You can find some examples in login
, spo site get
or: #6214, #6216, #6303
@milanholemans Description upgraded Regarding to ZOD, should I use a ZOD scheme for commands that are already in pull requests?
Actually, we are asking that all new commands use the ZOD scheme indeed.
I will take this ticket
Usage
m365 graph directoryextension add
Description
Creates a new directory extension
Options
-n, --name <name>
--appId [appId]
appId
,appObjectId
orappName
, but not multiple.--appObjectId [appObjectId]
appId
,appObjectId
orappName
, but not multiple.--appName [appName]
appId
,appObjectId
orappName
, but not multiple.--dataType <dataType>
Binary
,Boolean
,DateTime
,Integer
,LargeInteger
andString
.targetObjects <targetObjects>
User
,Group
,Application
,AdministrativeUnit
,Device
andOrganization
.--isMultiValued
Examples
Create a new directory extension of string type defined for user resource.
Create a new multi-valued directory extension of integer type defined for device and application resource
Default properties
No response
Additional Info
Directory extensions allow to add custom data to user, group, administrative unit, application, device and organization resources inside the Microsoft Graph.