Azure / Azure/azure-powershell

Initialize-AzMigrateReplicationInfrastructure needs the ability to accept UserObjectId as a parameter.

Open
#14,888 1 comment 0 reactions 0 assignees View on GitHub
feature-request Migrate Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

## User Object ID Parameter for Initialize-AzMigrateReplicationInfrastructure

When calling Initialize-AzMigrateReplicationInfrastructure I need the ability to pass the User Object ID as a parameter for situations where the existing code will not be able to resolve the User Object ID. Examples of when I need this are running Initialize-AzMigrateReplicationInfrastructure using a service principal or an account that is external to the tenant.

## Proposed implementation details (optional)

Add a parameter to the Initialize-AzMigrateReplicationInfrastructure cmdlet called `UserId ` that allows a User Object ID to be specified for the cmdlet to use.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Initialize-AzMigrateReplicationInfrastructure cmdlet implementation and reviewing how its existing parameters are defined and used. Verify the cmdlet can accept a UserId value for service-principal or external-tenant scenarios, and confirm the existing behavior remains intact when the parameter is not supplied.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, powershell
Domain
cli, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.