Comments (6)
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.
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.
Seems to be directly linked to this issue, I did not see. Any other way to do that ?
from azure-functions-microsoftgraph-extension.
@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.
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.
@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)
- Microsoft Graph Auth Token Binding
- System.Private.CoreLib: Exception while executing function: Functions.[funcNameHere]. Microsoft.IdentityModel.Clients.ActiveDirectory: Value cannot be null. Parameter name: authority. HOT 4
- Error while accessing 'X-MS-TOKEN-AAD-ID-TOKEN' from Logic App Custom Connector
- Azure Function V2 Graph token- invalid_grant, Assertion is not within its valid time range HOT 2
- Support for Microsoft.Graph.Beta sdk
- Obtain token using client credentials for different tenant than the one where function is deployed HOT 1
- The Functions Graph Extension doesn't support the National Clouds.
- Support for Multi-Tenancy
- value cannot be null. Parameter name: provider HOT 2
- Outlook Message binding returns an error on Functions v2 Runtime and JavaScript with version 1.0.0-beta6.
- This repo is missing important files HOT 1
- Visibility on releases, release notes and CI CD pipelines HOT 1
- Graph binding with timer trigger
- Outlook Message binding returns an error on Functions v2 Runtime and JavaScript. HOT 2
- GraphWebhookSubscription attribute binding error HOT 1
- The graph token has no scopes. Client Credentials HOT 4
- File input - Microsoft Graph binding doesn't seem to work for worker model HOT 1
- Support for access token with the token binding (UserFromAccessToken option) HOT 6
- 'X-MS-TOKEN-AAD-ID-TOKEN': property doesn't exist
- HttpRequestException when using TokenIdentityMode.UserFromId
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-functions-microsoftgraph-extension.