Skip to content

Failed to Add Secret(password) for the new created Application #1999

@zhangte3

Description

@zhangte3

Describe the bug

When to add Password for the new created Application, we always got error like "Resource 'xxxx-xxxxx-xxxxx-xxxxx' does not exist or one of its queried reference-property objects are not present." We have used the way to do such operation for many years, but it does not work.

Expected behavior

Is it a bug? If yes, how to fix it?

How to reproduce

  1. Create one Application via await graphClient.api('/applications').post(creationParameters)
  2. Add Secret for the Application via await graphClient.api(`/applications/${createApplicationResponse.id}/addPassword`).post({ passwordCredential: addPasswordContent })

SDK Version

3.0.7

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions