Calling User.setProxyAddresses() results in "Insufficient privileges to complete the operation" even with elevated permissions
@Chris-AdamsonQHR y travaille déjà.
Depuis le 29/5/2024.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
Expected behavior
Making a call to User.setProxyAddresses() succeeds when "User.ReadWrite.All" and "Directory.ReadWrite.All" application permissions are granted in the Azure portal with admin consent given.
Actual behavior
An exception is thrown:
com.microsoft.graph.beta.models.odataerrors.ODataError: Insufficient privileges to complete the operation.
Steps to reproduce the behavior
Using version 6.9.0 of the beta SDK:
- Create a new user (post)
- Attempt to update user (patch) with a call to setProxyAddresses() made first
- Observe the error
Here are the permission settings we tried using in the Azure Portal:
We also set the application in Azure to both User Administrator and then Global Administrator without succcess.
Related
Patch request to do the same operation is the suggested operation via graph explorer:
https://stackoverflow.com/questions/65198916/remove-old-proxyaddress-entry-for-user-in-azure-active-directory/71577425#71577425
- Langage dominant
- Java
- Étoiles
- 32
- Forks
- 14
- Merge moyen
- 1 j 3 h
- PR mergées (30 j)
- 6
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de microsoftgraph/msgraph-beta-sdk-java
-
type:bug
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
-
type:bug
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
-
upgrade to okhttp 5 Ouverteenhancement help wanted
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
-
dependency:metadata status:waiting-for-dependency
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
microsoftgraph/msgraph-beta-sdk-java#1181 · 5 commentaires · 1 réaction ·
-
type:bug
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
microsoftgraph/msgraph-beta-sdk-java#1162 · 1 commentaire · 1 réaction ·
Toutes les issues de microsoftgraph/msgraph-beta-sdk-java
Issues similaires
-
Bug Java Platform: Java
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
getsentry/sentry-java#6138 · 1 commentaire ·
-
bug needs triage p2
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · 1 commentaire ·
-
[Studio][Bug] Bulk-deleting a full page of alert rules steps the page back while more rules remain Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
apache/rocketmq-dashboard#4654 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100