msgraph-sdk-javascript | Microsoft Graph client library for JavaScript | SDK library
kandi X-RAY | msgraph-sdk-javascript Summary
kandi X-RAY | msgraph-sdk-javascript Summary
Microsoft Graph client library for JavaScript
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of msgraph-sdk-javascript
msgraph-sdk-javascript Key Features
msgraph-sdk-javascript Examples and Code Snippets
Community Discussions
Trending Discussions on msgraph-sdk-javascript
QUESTION
I am currently looking for a good JS library to use for my addin. And I came across this project : MSGRAPH-SDK-JAVASCRIPT
I tried to read through their project details but could not find out definitively if they support the SSO-OBO flow for addins.
Has anybody used the said library successfully for an SSO-OBO flow?
Thank you very much.
...ANSWER
Answered 2022-Feb-28 at 19:27Single sign on and MS Graph SDK are different things. You can use SSO to deal with Graph API from Outlook web add-ins. See Using Single Sign-On (SSO) with Office Add-ins for more information.
Also you may find the following posts helpful:
QUESTION
I have several Office 365 SharePoint sites. I would like my NodeJS based daemon that is registered as an Azure App Registration to write to several different folders within these SharePoint sites. I am struggling to get the correct syntax of the request url correct to create a resumable upload session. This is made worse by fairly unclear and non working examples provided by Microsoft. An important detail here is that the application is doing this without user delegation, meaning no user is using the application to cause these files but rather it is and should be the entity who owns the file uploads. Many examples show how to do this with user delegation. Some of the files being uploaded include binary or text content.
I have read quite a bit of the ms docs and referred to many questions. I even watched many videos on YouTube and started digging through source code with the microsoft-graph-client
incase there were insights to be had there. I don't think I can review graph server code or if that would be helpful. Below are just a few that I still I have open due to being closely related.
- Samples from GitHub
- GitHub repo docs - LargeFileUploadTask
- MS Docs - Getting drive item children
- MS Docs - createuploadsession
- SO - sharepoint-create-a-new-file-in-a-specific-drive-with-graph-api
Here is my latest attempt which I feel should be getting pretty close:
...ANSWER
Answered 2021-Dec-17 at 22:10I had to add a colon after the folder_id for the 2nd requestUrl format.
Also the await graph.LargeFileUploadTask
had to become new graph.LargeFileUploadTask
QUESTION
Desired Behaviour
Create a group
via Microsoft Graph, using the JavaScript SDK and MSAL in a single tenant application
with delegated
API permissions.
Actual Behaviour
...ANSWER
Answered 2020-May-15 at 09:11I can see that you have not given Group.Create permission in your permission set. Give this permission to create a group.
For Application permission type, these all permissions are required:
- Group.Create
- Group.ReadWrite.All
- Directory.ReadWrite.All
And for Delegated user permission type:
- Group.ReadWrite.All
- Directory.ReadWrite.All
- Directory.AccessAsUser.All
QUESTION
My goal is to create a local account, like michele@gmail.com
, in Azure Active Directory B2C.
I want to use my own UI, so I started to look at how to implement the API. After some research, it looks like the best way to do it should be via Microsoft Graph.
I started by following Manage Azure AD B2C user accounts with Microsoft Graph, and I properly created an app (not sure if I need to choose the third options, but looks like the broader one):
with the following permissions (updated following also @Tony Ju screenshot):
Then I created the client secret and coded my own auth provider
...ANSWER
Answered 2020-May-20 at 09:31Your code works perfectly. I only updated tenant,clientId,clientSecret and MY_ISSUER in your code. Here is the whole code I ran.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install msgraph-sdk-javascript
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page