question

Rollingstones-6399 avatar image
0 Votes"
Rollingstones-6399 asked LanHuang-MSFT edited

How to access microsoft graph toolkit from my asp.net Web Form ?



I am using ASP.Net Web forms but not in MVC pattern. In this, i would like to add to my application MS Graph Toolkit by adding tag into my aspx page susch as <mgt-agenda></mgt-agenda>, I need some help on this. I have tried to add the javascript library but it doesn't work.

dotnet-aspnet-webformsmicrosoft-graph-toolkit
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LanHuang-MSFT avatar image
0 Votes"
LanHuang-MSFT answered LanHuang-MSFT edited

Hi @Rollingstones-6399,
1. You need to create an Azure Active Directory application to use with Microsoft Graph Toolkit.
2. Add the Microsoft Graph Toolkit to your project.
3. Initialize the MSAL2 provider.
4. Add components.
5. Test your application.

For specifics, you can refer to the following article:
https://docs.microsoft.com/en-us/graph/toolkit/get-started/build-a-web-app?tabs=html%2CHTML
Best regards,
Lan Huang


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.