windows-admins / Intune

27 stars 12 forks source link

how to suppress Microsoft portal login wizard during SCCM task sequence #10

Open unkownuser231 opened 1 year ago

unkownuser231 commented 1 year ago

please let us know how to upload device hash with multiple group tag and script2 how to suppress Microsoft portal login wizard during SCCM task sequence

jagonzalez428 commented 1 year ago

please let us know how to upload device hash with multiple group tag and script2 how to suppress Microsoft portal login wizard during SCCM task sequence

The $grouptag = "TSUpload" is just a variable, you can use Powershell to determine how you want each machine to input there. Intune only takes one variable in the autopilot enrollment, but it can be kinda lengthy if need be.

It sounds like the Microsoft Portal Login you may be getting is because you may not have setup an Azure app with the appropriate Graph permission to pass the autopilot script through and it's trying to acquire a permission that it needs to write to your tenant.

unkownuser231 commented 1 year ago

Thank you looking help how to select Group tag like GUI during OSD script2 will add the machine hash value to Intune

jagonzalez428 commented 1 year ago

Thank you looking help how to select Group tag like GUI during OSD script2 will add the machine hash value to Intune

For a GUI, you can use TSGUI for Task Sequence Variables, it may be able to translate to the script: https://www.20road.com/tsgui-custom-guis-in-sccm/

For reference, there is also this video: https://youtu.be/nelpwJLQJDk - Using the TS to upload the hash