Perform Operation in Intune Using Graph API, How to Connect From Powershell, Part -1

Поділитися
Вставка
  • Опубліковано 11 тра 2021
  • In this video we see how to connect to Intune using Graph API and Powershell from start and run some commands. This is part 1 of the video where we are connecting using user credentials.
  • Наука та технологія

КОМЕНТАРІ • 6

  • @jananishree37
    @jananishree37 2 роки тому

    Superb video. Searching this kind of videos

  • @IocaIhost
    @IocaIhost 3 роки тому

    Thank you for this video, I’ve been researching this for weeks.
    If you’re looking for ideas for upcoming videos, maybe you could cover what I’m trying to do.
    We are in the process of enrolling devices into Intune. We have about 1,000 complete and around 9,000 to go. We’re enrolling at a cadence of around 150 devices per day.
    We’re deploying a PowerShell script through ScreenConnect that downloads and installs a Provisioning Package for Bulk Enrollment.
    I’ve been tasked with validating machines and recording their status (success/error.) I have a text file that contains the names of the 150 machines we deployed to each day. I would like to be able to have PowerShell read that text file then retrieve all devices from Intune, loop through the Intune devices and if it finds a machine name that’s in the text file, it adds the name of the machine, the enrollmentType and managementState to an array and, finally, exports that array to a CSV file.
    Basically, this will automate the validation process for me so that I don’t have to manually search for each device in Intune.
    Thanks!

  • @manukamboj6626
    @manukamboj6626 2 роки тому

    How it will work with automation ? You are entering credentials to connect intune. It should work without entering credentials.

  • @dariuspeterson1177
    @dariuspeterson1177 9 місяців тому

    Why doesn't this work in PowerShell 7?

  • @dineshchaudhary2918
    @dineshchaudhary2918 3 місяці тому

    From last one week when i try to use the connect-msgraph....its giving error there is no app in your tenant and your global admin consent has required.
    But i am admin of intune ....

    • @sonic1221992
      @sonic1221992 2 місяці тому

      Well you are an admin of Intune, not Microsoft Entra ID. You need your Global Admin to consent, then you can use MSGraph