azure-automation

Azure AD authentication without app registration

那年仲夏 提交于 2019-11-30 21:15:29
问题 I want to access Azure Directories and Subscriptions using my web app hosted on my server but i do not want to register my app in active directory because i do not have permissions to register my app in active directory I want to authenticate users from out of my active directory too. for example following sites let you authenticate any Azure AD user. https://resources.azure.com/ https://azureiotsuite.com Please help me to where to start. i have tried Azure AD authentication but it asks you

Azure automation - credentials delivered by Get-PSAutomationCredential don't work with Add-AzureAccount?

∥☆過路亽.° 提交于 2019-11-30 10:01:47
问题 I'm modifying a gallery runbook that copies a live database to a test database on a schedule. It's failing at the first hurdle; authenticating and selecting the relevatn azure subscription The runbook looks like this: $Cred = Get-AutomationPSCredential -Name 'automationCredential' Write-Output "UN: $($Cred.Username)" Add-AzureAccount -Credential $Cred I've used the portal credentials blade to create a credential named "automationCredential". For the username and password I supplied the

Azure automation - credentials delivered by Get-PSAutomationCredential don't work with Add-AzureAccount?

我是研究僧i 提交于 2019-11-29 18:14:06
I'm modifying a gallery runbook that copies a live database to a test database on a schedule. It's failing at the first hurdle; authenticating and selecting the relevatn azure subscription The runbook looks like this: $Cred = Get-AutomationPSCredential -Name 'automationCredential' Write-Output "UN: $($Cred.Username)" Add-AzureAccount -Credential $Cred I've used the portal credentials blade to create a credential named "automationCredential". For the username and password I supplied the username/pw that I log into the azure portal with. Note: this is NOT a school/work microsoft account, but a

Use Automation RunAs service principal to connect to Azure Analysis Services and process

橙三吉。 提交于 2019-11-29 16:29:58
TL;DR In summary the steps are: Use the correct code (the last code in this post) Manually add your app id in SSMS as either a server administrator or a database administrator and then you can process an Azure Analysis Services cube from an Azure Automation Account without needing to create another seperate service account Actual Question: I am trying to process an Azure Analysis Services cube using the Azure Automation RunAs Service Principal. This is run within an Azure automation account This code #Get the existing AzureRunAsConnection connection $Conn = Get-AutomationConnection -Name