In the aad app add command we have the AppInfo interface that describes the shape of data returned by the command:
|
interface AppInfo { |
|
appId: string; |
|
// objectId |
|
id: string; |
|
tenantId: string; |
|
secret?: string; |
|
} |
. Unfortunately, AppInfo allows only for a single value for a secret, where in reality you could define multiple. This is especially the case when you're creating the app from the manifest.
In v6 we should change the shape of the data and replace the secret property with secrets which is { displayName: string, value: string }[].
In the
aad app addcommand we have theAppInfointerface that describes the shape of data returned by the command:cli-microsoft365/src/m365/aad/commands/app/app-add.ts
Lines 32 to 38 in 04832fc
In v6 we should change the shape of the data and replace the
secretproperty withsecretswhich is{ displayName: string, value: string }[].