logicappsio / LogicAppConnectionAuth

PowerShell Script to get an authorization link and complete auth for an OAuth connector.
MIT License
45 stars 24 forks source link

Silent authorization #4

Open mdeery opened 7 years ago

mdeery commented 7 years ago

Is there a way to get this working silently?

cgonIT commented 5 years ago

Is there a way to get this working silently?

Did you get the way to make it working silently? I need to pass the data connection through powershell or ARM Template, but without interacting. Is there any option to do that @jeffhollan ?

Thank you in advance. Pd: I found a little "bug" in the code, where the Statuse are shown into the terminal: (Maybe there is a better way to do it, but consider it ) Last couple of lines are:

$connection = Get-AzureRmResource -ResourceType "Microsoft.Web/connections" -ResourceGroupName $ResourceGroupName -ResourceName $ConnectionName Write-Host "connection status now: " $connection.Properties.Statuses[0]

I add a new one, and modified the last one (output): $connectionStatus = $connection.Properties.Statuses[0].status Write-Host "connection status now: [$($connectionStatus)]" -ForegroundColor Green;

mganeshphani commented 5 years ago

any update on this? @jeffhollan

alenroki commented 5 years ago

Is there any update on this? @jeffhollan

MLopesSousa commented 5 years ago

Is there any update on this? @jeffhollan

dexterlakin commented 5 years ago

Is there any update on this? @jeffhollan

improving-jeffd commented 5 years ago

Would love to be able to work this silently, so it can be run as a post deploy script in DevOps.

SahinOzdemir commented 5 years ago

@jeffhollan Jeff Any idea how to get this to work from Azure DevOps? The custom window will not work ;)

johnjbateman commented 4 years ago

@SahinOzdemir @qdi-jeffd @jeffhollan

Good question. I need to do this as part of a task at work. If I figure it out, I will submit a PR.

mganeshphani commented 4 years ago

I believe the best possible approach here would be to enable all the connectors to pick the credentials from keyvault via managed identity.

richcoresln commented 4 years ago

@johnjbateman I also need to do the same. Did you manage to make any progress with this?

johnjbateman commented 4 years ago

@richcoresln nope!

steveculshaw commented 4 years ago

@jeffhollan The aspect of being able to authorise from Azure DevOps pipeline is really important, and the lack of a "built-in" option seems a big gap in ADO :-(

cveld commented 3 years ago

@jeffhollan any update?