GraphMinimalPermissionsPlugin: permissions service returns 403 "Ip Forbidden" from several networks in Spain
Les mainteneurs répondent en général sous 1 jour
@waldekmastykarz y travaille déjà.
Depuis le 9/10/2026.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
Description
When stopping a recording with GraphMinimalPermissionsPlugin, no minimal permissions are reported. The plugin fails because the external permissions service responds with an HTML 403 Ip Forbidden page instead of JSON. We tested from three different networks in Spain (home broadband, an office network and a mobile phone hotspot) with the same result, and a teammate hit the same error on their own setup.
Expected behaviour
The minimal permissions for the recorded requests are reported.
Actual behaviour
No permissions are reported. Dev Proxy prints:
An error has occurred while retrieving minimal permissions:
System.Text.Json.JsonException: '<' is an invalid start of a value.
Calling the service directly (outside Dev Proxy) shows the cause: the response is HTTP/1.1 403 Ip Forbidden with an x-ms-forbidden-ip header, which suggests an IP restriction on the service side. (I've left out the IP address on purpose.)
Steps to reproduce
- Enable
GraphMinimalPermissionsPlugin(tested withtype: delegatedandtype: application). - Run
devproxy --urls-to-watch https://graph.microsoft.com/* --record. - Send a few Graph requests (sites, lists, columns, items, drives).
- Stop the recording.
Dev Proxy Version
3.3.1
Operating system (environment)
Windows
Shell
PowerShell
Configuration file
{
"plugins": [
{
"name": "GraphMinimalPermissionsPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll",
"configSection": "graphMinimalPermissionsPlugin"
}
],
"urlsToWatch": ["https://graph.microsoft.com/*"],
"graphMinimalPermissionsPlugin": {
"type": "application"
}
}
Additional Info
Possibly related to #1012, where the service URL had changed. Is the permissions service restricted by IP or region on purpose? If so, it would help if the plugin reported a clear message instead of a JSON parsing error.
- Langage dominant
- C#
- Étoiles
- 838
- Forks
- 90
- Merge moyen
- 2 j 8 h
- PR mergées (30 j)
- 67
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Lire 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 dotnet/dev-proxy
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 1-2 jours Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
MockStdioResponsePlugin: @stdin.body.id placeholder fails to resolve when messages arrive back-to-back after an id-less messagePeut-être à nouveau libre @garrytrinder l’a pris il y a 107 jours, et aucune pull request n’est ouverte. Ouverte
dotnet/dev-proxy#1757 · 1 réaction · 2 personnes assignées ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de dotnet/dev-proxy
Issues similaires
-
Importer: an empty or non-numeric Error cell is imported as 0 instead of missingPeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Open-Systems-Pharmacology/OSPSuite.Core#3049 ·
Les mainteneurs répondent en général sous 1 jour
-
needs attention public-client untriaged
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
AzureAD/microsoft-authentication-library-for-dotnet#6242 ·
Les mainteneurs répondent en général sous 2 jours
-
docs: HTML config transform example sets advancedCustomization at a path the UI does not readOuverte
Difficulté 1/5 1-3 heures Accessibilité débutants 90/100
criticalmanufacturing/cli#882 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Dome-Works/DOME#129 ·
Les mainteneurs répondent en général sous 1 jour
-
bug sev:L
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Systemorph/MeshWeaver#7480 ·
Les mainteneurs répondent en général sous 1 jour