Azure / azure-functions-microsoftgraph-extension

Microsoft Graph extension for Azure Functions
MIT License
46 stars 23 forks source link

value cannot be null. Parameter name: provider #108

Open tsansome opened 4 years ago

tsansome commented 4 years ago

Hi,

I have tried to set up the outlook binding locally with vscode. Azure function is set up with runtime 2.0.12555.0.

I am receiving this error image

All I've done is add the outlook binding then ran func extensions install

I have ensured that in the local.settings.json that I have set WEBSITE_AUTH_CLIENT_ID, WEBSITE_AUTH_CLIENT_SECRET, BYOB_TokenMap

Puzzled on the error that i'm hitting.

SvenLauterbach commented 4 years ago

I have the same issue. When debugging the WebJobsScriptHostService.cs I see an "Access denied" exception:

image

Based on the documentation, there is a config value BYOB_TokenMap with a description "A valid local directory that you have read/write access to", but even after applying this value I get the same error:

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet",
    "BYOB_TokenMap": "<folder with write access>"
  }  
}
SvenLauterbach commented 4 years ago

Ok, seems to be already adressed in #77 as mentioned in #76