Questions tagged [microsoft-graph-toolkit]

Questions relating to the Microsoft Graph Toolkit

Find out more about the Microsoft Graph Toolkit in the documentation or at the GitHub project page.

112 questions
0
votes
1 answer

GET component on sharepoint list in react MGT

How can GET component be used with sharepoint list item. I did use list item graph api endpoint. However, not sure how to use template against response in React I see some example in non react ( mgt-get) solution but i couldnt port in React. Any…
Rohit
  • 284
  • 1
  • 3
  • 14
0
votes
1 answer

Graph tool kit components usage in teams react application without login components

graph toolkit SSO without Login Component in my teams tab i have followed the below link and authenticated Teams Tab. https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/auth-aad-sso I want to able to use graph tool…
0
votes
1 answer

How to make MGT React People Picker component required

How do I make the people picker component from MGT required? I am currently using formik to validate the form
0
votes
1 answer

How to use Microsoft graph toolkit people picker with ASP.Net MVC web application?

Is there a documentation / Guidance on how to use Microsoft graph toolkit people picker with ASP.Net MVC web application?
0
votes
1 answer

"Localhost refused to connect" using Microsoft Graph Toolkit on a deployed Microsoft Teams custom personal app

Error: We’re using the Microsoft Graph Toolkit for login credentials in order to use the Microsoft Graph API : https://learn.microsoft.com/en-us/graph/toolkit/overview With version 2.1.0: And we did the Azure AD App Registration following this…
0
votes
1 answer

How to style mgt components

I'm using the MGT with React. I am trying to style the component in the same fashion as the rest of my application (reactstrap). I've found the custom CSS properties you can set, which has got me 90% of the way there, but I need to be able to…
John McAulay
  • 185
  • 9
0
votes
1 answer

MGT Components and IE11

Discussions about supporting IE11 aside (we have clients still running IE and we need our solutions to support it wherever possible), I am failing to get any MGT components to work in IE. This is consistent across our custom solutions, basic web…
Jant
  • 3
  • 2
0
votes
1 answer

mgt-people-picker selectUsersById is not a function

I am using the people picker component from the Microsoft Graph Toolkit, everything has been working for months with v1.3.5 and now I am upgrading to the latest version, v2.1.0, I get an error trying to set an initial user in the picker. In the HTML…
David
  • 116
  • 1
  • 10
0
votes
0 answers

React Event Handler in Graph Toolkit Custom Template Not Working

We're templating the flyout in the Microsoft Graph Toolkit login component and click handlers on our own elements (inside the custom template) are not working. We're using a functional component, not a class. Any idea what we're doing wrong? Some of…
HK1
  • 11,941
  • 14
  • 64
  • 99
0
votes
1 answer

How to set default selected user In MGT-People-Picker For .NET MVC Edit

I have a working people picker on a .Net Create, I followed the following stack overflow to get that working: How to get input values from mgt-people-picker when a FORM is submitted ...the mgt component documentation leaves a lot to be desired. In…
0
votes
1 answer

How to use Graph toolkit people picker with existing access token in javascript?

I have already finished login and get the access token in JavaScript file with msal-browser.min.js, is that possible that I use this token for ? Thank you. AAD Test
qwer11121
  • 138
  • 2
  • 15
0
votes
2 answers

How to use fallbackDetails in SPFx react

I am using @microsoft/mgt-react": "^2.1.0" and I see "fallbackDetails" in the documentation but no exammple how to use it. I tried: return (
Ofer Gal
  • 707
  • 1
  • 10
  • 32
0
votes
0 answers

Setting domain hint in the new Microsoft Graph Tool Kit

I'm updating some we apps to use the Graph Tool Kit (React). I’m using this article https://learn.microsoft.com/en-us/graph/toolkit/get-started/use-toolkit-with-react - I can't find documentation on where/how to plug-in the domainHint property (as…
user15267658
0
votes
0 answers

Building local Teams chat with polling on mgt Get Component- polling and throttling

I am building local teams chat integrated with a product using Microsoft graph API toolkit. I am using mgt react Get Component to pull the messages from the channel . I am using polling rate as 3 seconds as I want to pull the messages from teams…
0
votes
1 answer

Microsoft Graph Toolkit React: mgt-person how to access 'activity' value from presence data?

Is it possible using the mgt-person component to output the value of the presence activity string (e.g. "OnAcall") as one of the line property values? Example below - see line2-property example: