Giter VIP home page Giter VIP logo

System.Private.CoreLib: Exception while executing function: Functions.[funcNameHere]. Microsoft.IdentityModel.Clients.ActiveDirectory: Value cannot be null. Parameter name: authority. about azure-functions-microsoftgraph-extension HOT 4 OPEN

azure avatar azure commented on July 30, 2024
System.Private.CoreLib: Exception while executing function: Functions.[funcNameHere]. Microsoft.IdentityModel.Clients.ActiveDirectory: Value cannot be null. Parameter name: authority.

from azure-functions-microsoftgraph-extension.

Comments (4)

khowling avatar khowling commented on July 30, 2024 2

If you are developing locally with the token binding, you need to set local settings to tell the function runtime how to federate with AAD. Add the following to your local.settings.json Values object:

"WEBSITE_AUTH_CLIENT_ID": "xxx",
"WEBSITE_AUTH_CLIENT_SECRET": "xxx",
"WEBSITE_AUTH_OPENID_ISSUER": "https://sts.windows.net/xxx"

from azure-functions-microsoftgraph-extension.

alexkolson avatar alexkolson commented on July 30, 2024

I should add my function works great if triggered at it's azure url, I just cant seem to get it to work locally.

from azure-functions-microsoftgraph-extension.

elksson avatar elksson commented on July 30, 2024

I am having this same issue when the azure function is triggered from azure not locally.

from azure-functions-microsoftgraph-extension.

psutradhar avatar psutradhar commented on July 30, 2024

Any update on this ticket? I am getting kind of the same error when I run my function locally.
I am getting,

System.Private.CoreLib: Value cannot be null.
Parameter name: s.

from azure-functions-microsoftgraph-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.