Failed to Add Secret(password) for the new created Application
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- api, authentication
Research direction
Reproduce the sequence using graphClient.api('/applications').post(creationParameters), then the /applications/{id}/addPassword request described in the issue. Inspect how the TypeScript SDK builds these requests and compare the behavior for a newly created application; done means the password can be added without the reported resource error.
Written by the indexing model from the issue text.
Description
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
- Create one Application via
await graphClient.api('/applications').post(creationParameters) - 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_
- Dominant language
- TypeScript
- Stars
- 833
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoftgraph/msgraph-sdk-javascript
-
status:waiting-for-triage
Difficulty 1/5 Under an hour Newbie friendliness 62/100
-
Is anyone here? Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
microsoftgraph/msgraph-sdk-javascript#2005 · 1 reaction ·
-
Is it really correct that the Javascript version of the graph SDK doesn't offer typed requests? Openstatus:waiting-for-triage
Difficulty 5/5 Over a week Newbie friendliness 42/100
-
status:waiting-for-triage type:bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in microsoftgraph/msgraph-sdk-javascript
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
check:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100