Skip to content

Bug report: creating AAD app with a approle from manifest fails #3131

@waldekmastykarz

Description

@waldekmastykarz

Description

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

Steps to reproduce

  • Create an AAD app
  • In the App roles section, define a new app role
  • 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 the specified app role

Actual results

Error: Expected property 'lang' is not present on resource of type 'AppRole'

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