Skip to content

What command(s) do I run in the place of Set-AzSKPIMConfiguration in order to activate my PIM roles via script? #426

Description

@VanessaRussell

I have been using

Set-AzSKPIMConfiguration -ResourceGroupName $ResourceGroupName -RoleName $RoleName -DurationInHours $Duration -Justification $Reason -SubscriptionId $subscriptionId -ActivateMyRole -ErrorAction Stop

to activate my PIM roles via script as it has always been quicker than via the portal.

Now that I've discovered that AzSK was sunset last year, I am trying to figure out what module/command I need to migrate to. Unfortunately, there doesn't seem to be much in the way of migration documentation.

Can anyone point me in the right direction of what command(s) I should be using now in order to accomplish this task?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions