GraphMinimalPermissionsPlugin: permissions service returns 403 "Ip Forbidden" from several networks in Spain
Los mantenedores suelen responder en 1 día
@waldekmastykarz ya está trabajando en esto.
Desde el 9/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- C#
- Estrellas
- 832
- Forks
- 90
- Merge medio
- 14 h 14 min
- PR fusionados (30 d)
- 45
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de dotnet/dev-proxy
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
MockStdioResponsePlugin: @stdin.body.id placeholder fails to resolve when messages arrive back-to-back after an id-less messageQuizá libre de nuevo @garrytrinder la tomó hace 89 días y no hay ningún pull request abierto. Abierto
dotnet/dev-proxy#1757 · 1 reacción · 2 asignados ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
-
needs peer review
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
dotnet/dev-proxy#1667 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de dotnet/dev-proxy
Issues similares
-
再現済み 要トリアージ 誤判定
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
yksr-melt/Meltype#421 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Facepunch/sbox-public#12063 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
facioquo/stock-indicators-dotnet#2316 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
eriknihlen/OpenAC#219 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ObsidianMC/Obsidian#548 ·
Los mantenedores suelen responder en 1 día