Giter VIP home page Giter VIP logo

Comments (6)

ConnorMcMahon avatar ConnorMcMahon commented on July 30, 2024

Can you tell us which exact templates you are using, and the name of the application settings you have set? Also, can you show us the contents of your function.json (at least the Graph binding part of the json)?

from azure-functions-microsoftgraph-extension.

TechWatching avatar TechWatching commented on July 30, 2024

I tried with 2 different templates : "Outlook message webhook creator" and "Microsoft Graph profile photo API". I have the same error for both.

Appart from the configuration of authentication I did change anything to the functions created, I did not add any application settings, by default AzureWebJobsDashboard, AzureWebJobsStorage, FUNCTIONS_EXTENSION_VERSION, WEBSITE_CONTENTAZUREFILECONNECTIONSTRING, WEBSITE_CONTENTSHARE, WEBSITE_NODE_DEFAULT_VERSION were already configured. Concerning AAD configuration, everything is green when I click on the Ms Graph binding of the azure function in Azure.

Error is not the same when I set Identity of the Ms Graph binding from the default User.FromToken to ClientCredentials. I got a "Application with identifier '---**' was not found in the directory microsoft.com". Do I need to set something in my application settings when identity is set to clientCredentials ?

I am afraid the errors just come from my misunderstanding of authentication identity but I can't figure out what I am doing wrong.

from azure-functions-microsoftgraph-extension.

TechWatching avatar TechWatching commented on July 30, 2024

Seems to be directly linked to this issue, I did not see. Any other way to do that ?

from azure-functions-microsoftgraph-extension.

ConnorMcMahon avatar ConnorMcMahon commented on July 30, 2024

@TechWatching, we unfortunately do not have a clean way to update extensions in the portal. I am working on a script that would allow individuals to upgrade the version of the AuthToken and GraphExtension. Note that this would prohibit you from utilizing the templates for both of these extensions.

from azure-functions-microsoftgraph-extension.

TechWatching avatar TechWatching commented on July 30, 2024

Ok. That's fine, I don't really need to use the templates it was just a way to try the graph extension before really using it in an azure function I had planned to develop as a class library directly in VS. So I am very interested by your future script :) By the way I guess there is no way to debug such an azure function locally as authentication is involved, right ?

from azure-functions-microsoftgraph-extension.

ConnorMcMahon avatar ConnorMcMahon commented on July 30, 2024

@TechWatching There is not currently a way to do that. There has definitely been a discussion around exactly what you were suggesting, but unfortunately there is no ETA on that.

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.