MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.21k stars 21.36k forks source link

Intune enrollment #94148

Closed OffColour closed 1 year ago

OffColour commented 2 years ago

The page says you can check the box for join intune, but the generated ARM template says

"intune": {
            "type": "bool",
            "metadata": {
                "description": "IMPORTANT: Please don't use this parameter as intune enrollment is not supported yet. True if intune enrollment is selected.  False otherwise"
            },
            "defaultValue": false
        },

But then the parameter does get passed to the linked template (which has the same warning) at https://wvdportalstorageblob.blob.core.windows.net/galleryartifacts/armtemplates/Hostpool_5-24-2022/nestedTemplates/managedDisks-galleryvm.json where it attempts to set the mdmId on the AADLoginForWindows extension.

"properties": {
        "publisher": "Microsoft.Azure.ActiveDirectory",
        "type": "AADLoginForWindows",
        "typeHandlerVersion": "1.0",
        "autoUpgradeMinorVersion": true,
        "settings": "[if(parameters('intune'), createObject('mdmId','0000000a-0000-0000-c000-000000000000'), json('null'))]"

So has this functionality actually been implemented?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

VikasPullagura-MSFT commented 2 years ago

@OffColour Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

VikasPullagura-MSFT commented 2 years ago

@Heidilohr Can you please check and add your comments on this doc update request as applicable.

dknappettmsft commented 1 year ago

Yes this has been implemented, but the JSON that's generated still has the same description. This isn't in the remit of the documentation to fix, but I have raised it internally. For anything further on this, it'll need to be handled by Microsoft Support.

please-close