Jump to content

Kris

Hornbill Users
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Kris

  1. Still need help if there is anyone is able to assist?

    Im using Azure Automation Runbook script VERSION 1.2 by  @Steve Goldthorpe

    Here is my config which results in the current message below... What am I missing?

    Failure to acquire access token. Response from AcquireTokenAsync was null

    Registered App config

    image.thumb.png.f760e4915aee5f63d026129527e5ed48.png

     

    image.png.175bb81482863c4a50ed5843a4b7af04.png

    image.png.db5f9be29175ab158f970ff9bade895c.png

    image.png.c473e705d0a5e8557ef12e3a6b5694d9.png

    Automation setup (have also tried Runtime language V 7.1 too)

    image.thumb.png.933916d706b85d43b71021fc28551f7d.png

    Credential

    image.thumb.png.c6fa4480c7313747a88042c91bb8913c.png

    Variables

    image.thumb.png.062098809fbc8232d06aa1df109e74f0.png

    image.png.4f1bc589e5db6628506bb9a5bb613c35.png

    HornBill Config

    Api Key

    image.png.43058eb60d40384dbe05e83e29099632.png

    Key Safe

    image.thumb.png.cf522932e1b5a816aa7d8b5654d07324.png

  2. Really struggling trying to get this working - Went back to the beginning and not have the below message when testing the Runbook

     

    Completed
    
    
     
    Unable to load required assemblies from AzureAD module to construct an authentication token. Error message: Exception setting "Path": "Cannot find path 'C:\usr\src\PSModules\AzureAD\Microsoft.IdentityModel.Clients.ActiveDirectory.dll' because it does not exist."

     

  3. Getting slightly further today after re-doing everything.

     

    Retrieving devices from: https://graph.microsoft.com/v1.0/deviceManagement/managedDevices?$top=100
    The remote server returned an error: (403) Forbidden.
    
    IMPORT COMPLETE
    
    Assets Found:0
    Assets Created:0
    Assets Updated:0
    
    * Primary Record Updated:0
    * Primary Record Update Skipped:0
    * Related Record Updated:0
    * Related Record Update Skipped:0
  4. Hi All,

    I am attempting to setup asset imports from Azure into Hornbill. I've followed the fragmented information / guides I can find but am having problems linking it all together. This is the first time attempting something like this so have more than likely missed something or configured it incorrectly!

    Steps taken so far.

    Created a Hornbill App registration In Azure

    Created a Secret ID

     Setup a new Automation 

    Deployed the below from www.powershellgallery.com:

    HornbillAPI

    HornbillHelpers

    AzureAD 

    Imported the RunBook  HornbillAzureIntuneAssetImport 1.2 (AUTHOR steve.goldthorpe@hornbill.com)

    Created The Variables required

    Created the Credentials called "IntuneAutomation" - Please can someone confirm what I should be using for the username and password? Is it the AppID and Secret or my Admin account?

    Created an API / Keysafe in Hornbill

     

    When I test the runbook I receive the error 

    Completed

    Failure to acquire access token. Response from AcquireTokenAsync was null

     

×
×
  • Create New...