Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Integrating with Apple Business Manager for Device management

Alex Rose
Kilo Sage

Hello,

 

I am trying to integrate with Apple Business Manager to import mobile device data into the CMDB.  The ABM API uses OAuth2 with JWT for authentication, and requires that the client assertion be signed with the ES256 algorithm.  

I followed this post  to generate the client assertion.  When I try to use the client assertion to retrieve an access token, I get the error invalid_client.

 

Has anyone successfully integrated with the Apple Business Manager API?

9 REPLIES 9

Tanushree Maiti
Kilo Patron

Hi Alex Rose

Could you please share exact error screen shot.
 
  Also as per the your mentioned post- did you place the mentioned jar file in exact path where it was instructed.
Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Gomathi Kannan
Kilo Sage

@Alex Rose , Is it working now? If yes, please share the fix. We are also trying to integrate with ABM and getting invalid client error

Hi Gomathi, I did end up getting it working, though not using the method I linked in my post.  I am using the Python script included in Apple's documentation to generate the client assertion.  I installed Python on the MID Server (must be installed for all users), and I use the Powershell step to run the Python script.

Thanks Alex for your response. 

Kedarisetti Sre
Tera Contributor

Hi @Alex,

I tried to create a post but it seems I don't have the required permissions to create one. I have the working powershell script as well. This will remove the dependency on the Python installation. Let me know if you require it. I will post it over here.