Click here to Skip to main content
16,022,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I've written a demo app that retrieves and displays a user's mailfolders and mails from Outlook 365, and allows them to send an email the same way, all using Microsoft Graph.

In order to use Graph, I had to get an Entra AD tenant account from Microsoft.

The app works flawlessly on my machine (and yes, I know how cliche that sounds), but when I deploy it, I get nothing but an unspecified 500 error.

I believe the problem is due to my app not accessing the Entra AD account (secret, tenant, client, etc). As part of the creation of the app, I set those on my computer.

When I created a KeyVault on Azure, it didn't provide any way to enter the secret/tenant for Graph. Only to create a new one.

What I have tried:

I have tried using
app.UseDeveloperExceptionPage();
, and I have tried turning on logging in the web.config. Nothing changes, and no log is generated.
Posted
Comments
Muhiden Mimbalawag 24-Sep-24 19:58pm    
restore code in vb.net

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900