JamesSimon-4101 avatar image
0 Votes"
JamesSimon-4101 asked CarlZhao-MSFT commented

[INTUNE] Create win32lobapp using client id/client secret and powershell

Hi all,

I only want to know if is it possible to use azure ad registered app with credentials(client ID and client secret) for creating a new intune Win32LOBApp with the invoke-RESTMethod (POST method) powershell cmdlet and JSON datas included on body request.

I ask it because I could'nt find anything about this way, only the user authentication method.
When i try it(clientID/Client secret & powershell), I always have a bad request error. When I use the same JSON datas in the graph explorer with my admin account and after admin consent, the POST request work great and I have a new Intune app created.

Anyone could help me please ?

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JamesSimon-4101 It seems that we have a bad request error in the process of creating win32LobApp. This issue involves the Microsoft Graph API, which is beyond the support scope of our forum. It is recommended to open a premier support ticket for further troubleshooting. Here is the online support link:

0 Votes 0 ·

@JamesSimon-4101 What error are you getting? Can share your error message?

0 Votes 0 ·

0 Answers