Questions tagged [azure-service-principal]

235 questions
1
vote
2 answers

How to get the Azure DevOps Service Principal ID + Name

Perhaps my brain is still in bed, but I cannot figure out how to get the name and ID of my Azure DevOps Service Principal. I need to give it permission on a Synapse workspace. Do I have to create a Azure DevOps Service Principal or is it created…
Cribber
  • 2,513
  • 2
  • 21
  • 60
1
vote
0 answers

Can somene help me how to give the specific service principal name for azure custom policy in terraform code

The Scenario is:We need to create resources in azure portal through terraform cloud only by using service principals and azure portal shouldn't allow creation of resources by other means. (No manual creation in azure portal,and also by SVM's tools…
1
vote
2 answers

Azure AD App Registration secret manipulation

I'm working with an app registration that has a secret defined. Via PowerShell I am able to get the credential, but not the secret value. Function used is Get-AzADAppCredential This is expected behavior, no issue here. To renew the secret I run two…
Dieter
  • 401
  • 1
  • 9
  • 31
1
vote
0 answers

Refreshing permissions in Azure SQL Database for a Service Principal

I had an SQL database with one read-write role, that had an AAD group assigned, where the Server principal of my App service was added. The application was running normally, accessing the database without any problem. Recently I created a new role…
1
vote
1 answer

Configure SQL Server with Azure Active Directory Service Principal authentication for Keycloak

I have an SQL Server database hosted on azure. It can access using the Azure Active Directory Service Principal. I'm trying to deploy keycloak (16.1.0) on AKS and configure the database mentioned earlier. I have an application that can connect to…
1
vote
0 answers

How Azure Service Principal (SPN) defines who can access the application?

While going thru reams of documentation on Service Principals including many question threads here on stackoverflow, the literature claims that "Service principals define who can access the application, and what resources the application can…
1
vote
1 answer

How to craete Azure Service principal account for readonly azure access

I know how to create service principal for app registration. However, what is "Azure Service principal account" for read-only Azure access? The requirement is to execute API or make API call from a framework or run the command for Azure Infra and…
AskMe
  • 2,495
  • 8
  • 49
  • 102
1
vote
1 answer

Is there any way of sending an email to Azure Service principal through an Azure function?

We are exploring Graph API, but couldn't find any code for sending emails to a service principal. Does anyone have any articles or helpful code? Thanks
1
vote
1 answer

Active Directory Service Principal is giving Invalid value for key 'authentication'

I am trying to execute a SSIS package where source is SQL Server and destination is Azure SQL with authentication "Active Directory Service Principal". ODBC driver is 17.8 and OLEDB driver is 18.5. While executing the SSIS package, it fails for a…
1
vote
1 answer

How do I use Service Principal authentication with an Azure Machine Learning Pipeline Endpoint in C#?

I'm trying to call an Azure Machine Learning Pipeline Endpoint I've set up using C# & the Machine Learning REST api. I am certain that I have the Service Principal configured correctly, as I can successfully authenticate & hit the endpoint using the…
1
vote
1 answer

How to Create a Service Principal for Azure database for PostgreSql single server

As per the documentation from Microsoft for Data encryption for Azure Database for PostgreSQL Single server by using the Azure portal , the steps mentioned tell to create a service principal for Azure PostgreSql single server option, while adding an…
1
vote
1 answer

Is it possible to view azure function execution logs without using the azure portal?

I am working on an Azure cloud project where we are using Azure Functions (the code is written in Python). We would like to see our app execution logs, but our client, out of security concerns, will not give access to most Azure Portal features…
MrMuppet
  • 547
  • 1
  • 4
  • 12
1
vote
1 answer

Is it possible to connect to an Azure Sql Database from Sql Server Management Studio with service principal/app registration?

I have configured my sql server with an Azure Active Directory admin that is a service principal (app registration). Is it possible to use clientid/secret to connect from Sql Management Studio? I have tried Azure Active Directory - password…
1
vote
1 answer

How to view list of azure subscriptions a Service principal has contributor access to?

I have a SPN/AppRegistration, that has contributor access to subscription 1, 2. This SPN will be used by an external service to access the subscriptions1,2 to deploy resources. How can this external service list all the subscriptions that the SPN…
1
vote
1 answer

Can a single Service Principal be used to access multiple resources in Azure?

I have an app service that needs to connect to Azure Key Vault to obtain Storage and Cosmos DB connection strings. The same application also needs to use service principal name (with client id and secret) to connect directly to a SQL PaaS instance…