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

Offen
#1,999 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
typescript
Bereich
api, authentication

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

status:waiting-for-triage type:bug
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_
Vorherrschende Sprache
TypeScript
Sterne
833
Forks
240
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoftgraph/msgraph-sdk-javascript

Alle Issues in microsoftgraph/msgraph-sdk-javascript

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.