Skip to content

Bug report: creating AAD app with a secret from manifest fails #3130

@waldekmastykarz

Description

@waldekmastykarz

Description

When you try to create an AAD app with a secret using a manifest, you get an error

Steps to reproduce

  • Create an AAD app
  • In the Certificates & secrets section, create a new secret
  • Get the generated manifest and save to a local file
  • Run the m365 aad app add --manifest @manifest.json command

Expected results

AAD app created with a secret

Actual results

Error: Expected property 'endDate' is not present on resource of type 'PasswordCredential'

Diagnostics

No response

CLI for Microsoft 365 version

Latest from main

nodejs version

v16.13.0

Operating system (environment)

macOS

Shell

zsh

cli doctor

No response

Additional Info

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions