Help with Microsoft Intune Integration

adaomoji
Tera Contributor

Hello Everyone,

 

I am integrating Microsoft Intune into my company's instance and am using the Service Graph Connector for Microsoft Intune guided set up and following other forum posts. I am stuck because I keep getting errors.

 

1. When I test the connection I keep getting the error: "Unable to make a connection to Intune API call. Please check your credential configuration. Check system log for more details. HTTP return status code was 400".

 

2. And when I test my HTTP method I get: "Method failed: (/v2.3/deviceManagement/managedDevices) with code: 404". Even when I add '$top=5' to the endpoint.

adaomoji_0-1699833654562.png

I believe the Oauth 2.0 info I provided during the Application Registry part is correct because I get a success message when I click the 'Get OAuth token' button. Does anyone have any ideas? 

2 ACCEPTED SOLUTIONS

AnveshKumar M
Tera Sage
Tera Sage

Hi @adaomoji 

It is not issue with your oAuth, it is with the permissions. You need to check your permissions for the target tenant from which you need to query.

 

Please check the documentation if you are missing any permissions at Azure end.

Thanks,
Anvesh

View solution in original post

Tai Vu
Kilo Patron
Kilo Patron

Hi @adaomoji 

Generally, when this occurs it is an issue with the permissions and scopes set on the Azure side of Intune.

Let's have a look into the below KB for some steps of debugging.

KB0996780 - Service Graph Connector for Microsoft Intune - Import fails with: Unable to make a conne...

 

And use this https://jwt.io/ to validate the permission has been granted to your keys.

 

Cheers,

Tai Vu

View solution in original post

4 REPLIES 4

AnveshKumar M
Tera Sage
Tera Sage

Hi @adaomoji 

It is not issue with your oAuth, it is with the permissions. You need to check your permissions for the target tenant from which you need to query.

 

Please check the documentation if you are missing any permissions at Azure end.

Thanks,
Anvesh

Tai Vu
Kilo Patron
Kilo Patron

Hi @adaomoji 

Generally, when this occurs it is an issue with the permissions and scopes set on the Azure side of Intune.

Let's have a look into the below KB for some steps of debugging.

KB0996780 - Service Graph Connector for Microsoft Intune - Import fails with: Unable to make a conne...

 

And use this https://jwt.io/ to validate the permission has been granted to your keys.

 

Cheers,

Tai Vu

adaomoji
Tera Contributor

@AnveshKumar M @Tai Vu Indeed the issue was with the permissions on the Azure side. Thank you for your replies!

g k1
Tera Guru

Hi Everyone 
i wanted to know whether we can do this configuration?

gk1_0-1741256763816.png

i want to see all the incidents related to a device but not as a user 
like there we can use filter for devices but that also shows for a user's device
I want to see all incidents of a device
Any help on this?