Questions tagged [microsoft-graph-intune]

Microsoft Graph Intune refers to the Intune APIs in Microsoft Graph. This tag should always be used in conjunction with the [microsoft-graph] tag.

57 questions
3
votes
1 answer

I am trying to get all the applications installed on all the devices using microsoft graph API

I am trying to get all the applications installed on all the devices ios,ipad,iphone,android and windows devices using microsoft graph API. my approach was first to get all the devices using…
2
votes
0 answers

How to request a delta using Microsoft.Graph C# API

In the following code, GraphService is a GraphServiceClient instance that is already connected, and the value returned into foo is a collection of Intune devices. var foo = GraphService.Devices.Request().GetAsync().Result; As is, this gets all…
Peter Wone
  • 17,965
  • 12
  • 82
  • 134
2
votes
1 answer

How to use Microsoft Graph API with Certificates (INTUNE)

C# code to access MS GRAPH API (IN THIS CASE INTUNE) and use certificates for authentication. This is based on article to be found here:…
NBessmer
  • 87
  • 2
  • 9
1
vote
1 answer

Getting 404 when requesting physicalMemoryInBytes using Graph API

The response I currently receive from Graph Explorer with the following query: https://graph.microsoft.com/beta/deviceManagement/managedDevices/11111111-1111-1111-1111-111111111111 { "error": { "code": "ResourceNotFound", …
1
vote
1 answer

Microsoft Graph Delta API for querying /devicemanagement/manageddevices?

I'm trying to sync the devices from Microsoft Endpoint manager https://endpoint.microsoft.com . After performing a full read once, I would like to query the changes alone on daily basis. We are able to fetch all devices using…
1
vote
1 answer

Powershell - automatize connecting to MS-Graph

Is there a way to automatize connecting to MSGraph? I have found a way to automatize connecting to AzureAD by using next two lines of code, which works perfectly without any pop-up. $UPN = whoami /upn Connect-AzureAD -AccountId $UPN Is there…
1
vote
0 answers

rest apis for exporting config.office.com

I'm trying to export Office Policies available in 2 place: In Intune Endpoint manager (https://endpoint.microsoft.com) In https://config.office.com I'm generating a token (following intune rest api documentation) an I call: GET…
CloudAnywhere
  • 669
  • 1
  • 11
  • 27
1
vote
1 answer

Assign a group to a Intune Endpoint security policy

I'd like to find a way using PowerShell to assign a group to a Intune endpoint security policy like disk encryption or a security baseline for Windows 10 (not iOS or Android). I managed to create policies using PS but can't find how to assign a…
1
vote
1 answer

MS Graph API for onPremisesExtensionAttributes

Quick summary: I'm trying to query MS Graph to grab extensionAttribute1 from any user that I search for. I know that I can run the query below to get an entire list of Extension Attributes but I only want to call on a specific…
EmanC
  • 17
  • 4
1
vote
2 answers

Renaming devices in intune via Powershell

I am trying to write a PowerShell script that allows me to update all the names of our devices in Intune [430ish devices] to reflect our asset tags. When they were imported into our tenant, they were given the serialNumber of the device as their…
1
vote
0 answers

Create groupPolicyDefinitionValue

I want to Create a DefinitionValue based on this documentation. But this doesn't work: https://graph.microsoft.com/beta/deviceManagement/groupPolicyConfigurations/{groupPolicyConfigurationID}/definitionValues { "@odata.type":…
1
vote
0 answers

Azure Logic Apps, Parsed JSON returning Null when used

I'm trying to access the values in JSON output that I received from two (2) Graph API calls, but each time I try to use them I get this error: ExpressionEvaluationFailed. The execution of template action 'For_each' failed: the result of the…
1
vote
0 answers

Client-side pagination using $skip/$top does not work with Intune

We are currently working on a client application that processes Intune devices by querying all devices on a customer account using the following Microsoft Graph API: GET https://graph.microsoft.com/v1.0/deviceManagement/managedDevices After we…
Lex Luthor
  • 523
  • 6
  • 18
1
vote
1 answer

MSAL Attentication (Microsoft Authentication Library) Failed with Intune Company Portal App

I have Created MSAL Attentication(Microsoft Authentication Library) With Xamarin Forms Using TentID and Client ID.Attentication work fine When There is no SMS Two Factor Authentication and when there is SMS Two Factor Authentication There is option…
1
vote
0 answers

Intune Enroll Device Issue in Andriod

I have Installed Intune Company Portal App in Android Vivo Mobile and also registered the Device and Sign in but when I Login with My Client app and when press enroll device then its appearing this message even I have installed this app Now how i…
Mian1995
  • 53
  • 4
1
2 3 4