-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application using Microsoft.Graph.dll works on Windows 10 but doesn't work on Server 2019 #2567
Comments
Thanks for raising this @LauranceOrLaurent Are you able to share the following to help us understand the issue better?
|
logs of the errors reported of the client The call is like this: _deltaEvents = null on Server 2019, _deltaEvents is ok filled in Windows 10 version of the Graph SDK being used(does this error happen with the latest version) sample code of how you are intializing the GraphClient Tested on two different server 2019. So the problem ist not related to a specific server installation. |
Any Idea? |
I'm not sure what could be wrong here. I would then try to log the properties(headers, status code and content values) of the response object to see if indeed the API is returning a meaningful response here to isolate where the problem could be. |
I did that with: https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/dev/docs/upgrade-to-v5.md#native-response-object As I described before: The Response is also still NULL after 1 minute. No exceptions. Looks like MSGraph.dll can not work/send on Server 2019. Did you try this on Server 2019 and it worked? |
Is there any project (Windowsservice) running properly on a MS-Server 2019 that uses MS-Graph.dll's? |
So:
The program works well on Windows 10 (in all aspects!)
The program is not working from Windows Server 2019
o More detailed: The request via the MS.Graph.dll results in an unspecified http-request exception (after about 1 minute).
o I have build in the same request as raw http-request and that works perfect (on Windows 10 and Server 2019)
We have already excluded following issues on the Server:
o Internet/Porxy access (I can do requests from e.g. POSTMAN to the Graph-Rest-Service, that works as expected)
o .net Framework 4.8 and dotnet 8 is installed and works
o Authentication works, access token is valid and works an both Platforms (Windows 10 and Server 2019)
The remaining component therefore seems to be between Server 2019 and the dotnet MS.Graph.dll library(s). Something on the Server prevents the work of MS.Graph.dll's
The text was updated successfully, but these errors were encountered: