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

Ouverte
#1,999 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Calme
Stack technique
typescript
Domaine
api, authentication

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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_
Langage dominant
TypeScript
Étoiles
833
Forks
240
Métriques de merge des PR
Aucune PR mergée en 30 j

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de microsoftgraph/msgraph-sdk-javascript

Toutes les issues de microsoftgraph/msgraph-sdk-javascript

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.