-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Where did you get the code?
- Downloaded from GitHub
- Downloaded from the Microsoft Graph quick start tool
- Followed the tutorial from Microsoft Graph tutorials
Describe the bug
I've tried both following the tutorial, as well as downloading from GitHub and have what I believe is the same error that the other user posted. Currently can pull new messages, but on subscribing an email address I'm left with an "Object reference not set to an instance of an object" error. It fails out on azurefunctions.js:59 and does so every time.
Error on the web page is: Call to SetSubscription returned 500 "Internal Server Error"
Error in the console is:
[2021-05-14T17:28:38.394Z] Executed 'Notify' (Succeeded, Id=6a4ec2e3-f68e-4a4e-aa28-431bcb4f75a5, Duration=4ms)
[2021-05-14T17:28:39.069Z] Executed 'SetSubscription' (Failed, Id=13cfe347-1cde-4e97-80b8-011ab221e9fc, Duration=1801ms)
[2021-05-14T17:28:39.071Z] System.Private.CoreLib: Exception while executing function: SetSubscription. Microsoft.Graph.Core: Object reference not set to an instance of an object.
To Reproduce
Steps to reproduce the behavior:
- Go to Subscriptions
- Enter an email address
- Click Subscribe
- See error
Expected behavior
Should subscribe the email.
Screenshots
N/A
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome, Firefox and Edge (happens in all browsers)
- Version [e.g. 22]
Dependency versions
- Authentication library (MSAL, etc.) version:
- Graph library (Graph SDK, REST library, etc.) version:
Additional context
Function Runtime Version: 3.0.15417.0
.NET SDK 5.0.202 (x64)
Running this from PowerShell using Azure Command Line
Editor: Visual Studio Code