Skip to content

Conversation

2258093686
Copy link
Member

@2258093686 2258093686 commented Sep 18, 2025

Description

  • Updated api version to 2025-01-15-preview
  • Added two parameters -EntraUserIdentity and -EntraUserFullInfo to cmdlet New-AzHDInsightCluster to support create cluster with entra user as gateway credential to replace use username and password.
  • Added two parameters -EntraUserIdentity and -EntraUserFullInfo to cmdlet Set-AzHDInsightGatewayCredential to update Entra user information for an existing Entra user cluster.
  • Added support for using WASB storage with Managed Identity (MSI) in the New-AzHDInsightCluster cmdlet.

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

@Copilot Copilot AI review requested due to automatic review settings September 18, 2025 06:56
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the HDInsight module to API version 2025-01-15-preview and introduces support for Entra user authentication as an alternative to traditional username/password authentication for cluster gateways, along with support for WASB storage with Managed Identity.

  • Added Entra user authentication support for cluster creation and gateway credential management
  • Enhanced WASB storage configuration to support Managed Identity authentication
  • Updated API version from 2024-08-01-preview to 2025-01-15-preview

Reviewed Changes

Copilot reviewed 21 out of 49 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/HDInsight/HDInsight/help/Set-AzHDInsightGatewayCredential.md Updated cmdlet documentation to include new EntraUserIdentity and EntraUserFullInfo parameters
src/HDInsight/HDInsight/help/New-AzHDInsightCluster.md Updated cmdlet documentation to include new Entra user parameters and WASB MSI examples
src/HDInsight/HDInsight/Models/Management/AzureHDInsightGatewaySettings.cs Added RestAuthEntraUsers property to support Entra user gateway settings
src/HDInsight/HDInsight/Models/Management/AzureHDInsightEntraUserInfo.cs New model class for Entra user information containing ObjectId, DisplayName, and Upn
src/HDInsight/HDInsight/ManagementCommands/SetAzureHDInsightGatewayCredentialCommand.cs Enhanced command to support Entra user parameters with validation logic
src/HDInsight/HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs Added Entra user support and updated storage account creation to support MSI
src/HDInsight/HDInsight/HDInsightCmdletBase.cs Added GraphClient property for Microsoft Graph API operations
src/HDInsight/HDInsight/Constants.cs Added EntraUsers constant for gateway configuration
src/HDInsight/HDInsight/ClusterCreateHelper.cs Updated helper methods to support Entra users and MSI for storage accounts
src/HDInsight/HDInsight/ClusterConfigurationUtils.cs New utility methods for handling Entra user authentication and Graph API calls
src/HDInsight/HDInsight/ChangeLog.md Documentation of new features and parameters
Test files and SDK README Updated test recordings, test scripts, and SDK configuration for new API version

@isra-fel
Copy link
Member

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@VeryEarly VeryEarly self-assigned this Sep 18, 2025
@2258093686 2258093686 marked this pull request as draft September 18, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants