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

James Simon 1 Reputation point
2022-05-01T11:07:03.743+00:00

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 ?

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,411 questions
Microsoft Intune Application management
Microsoft Intune Application management
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Application management: The process of creating, configuring, managing, and monitoring applications.
895 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,486 questions
{count} votes