Hi @Lu Dai-MSFT , thanks for your answser, but that does not solve my issue.
When I use this Url "https://graph.microsoft.com/beta/deviceManagement/managedDevices", I can sucessfully request Graph API.
Same App (and permission) and same code is used.