rubrikinc / rubrik-sdk-for-powershell

Rubrik Module for PowerShell
https://build.rubrik.com/sdks/powershell/
MIT License
102 stars 87 forks source link

Export SQL Database with 2FA #832

Closed rwyoung01 closed 2 months ago

rwyoung01 commented 1 year ago

Is your feature request related to a problem? Please describe.

I am using Export-RubrikDatabaseJob.ps1 but do not know how to change this for 2FA. I have a service account and am logging in with Powershell 7.0 but it keeps failing. I can just get a token and then export the database when 2FA is turned on.

Describe the solution you'd like

modify this script Export-RubrikDatabaseJob.ps1

Describe alternatives you've considered

is using a token all I need

Additional context

No response

mwpreston commented 2 months ago

Hi @rwyoung01 - can you update the module to 9.0 and let me know if this persists. Using a service account is the way to go