共用方式為


GraphSdkGuidancePlugin

顯示 Proxy 攔截Microsoft Graph 的要求時提示,該要求尚未由 Microsoft Graph SDK 發出。

開發人員 Proxy 命令提示字元的螢幕快照,其中顯示在攔截不使用 SDK 之Microsoft Graph 的要求之後,使用 Microsoft Graph SDK 的建議提示。

組態範例

{
  "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v2.0.0/rc.schema.json",
  "plugins": [
    {
      "name": "GraphSdkGuidancePlugin",
      "enabled": true,
      "pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll"
    }
  ],
  "urlsToWatch": [
    "https://graph.microsoft.com/v1.0/*",
    "https://graph.microsoft.com/beta/*",
    "https://graph.microsoft.us/v1.0/*",
    "https://graph.microsoft.us/beta/*",
    "https://dod-graph.microsoft.us/v1.0/*",
    "https://dod-graph.microsoft.us/beta/*",
    "https://microsoftgraph.chinacloudapi.cn/v1.0/*",
    "https://microsoftgraph.chinacloudapi.cn/beta/*"
  ]
}

組態屬性

沒有

命令行選項

沒有

後續步驟