Questions tagged [serviceconnection]

86 questions
1
vote
2 answers

java.lang.NullPointerException showing at mBoundService.setAlarm(c);

I want to remind the user when he selected some date. I found an example for a remainder here but I got a NullPointerException. package com.example.eventremainder; import java.util.Calendar; import com.example.eventremainder.R; import…
1
vote
1 answer

service connection leaked on Text-To-Speech

My app uses text-to-speech after a voice recognition command. I had it working earlier with no errors but now it gives me a service connection leaked error and will not start the activity. I have included my LogCat and Java file where the error is…
Sam Bevins
  • 1,939
  • 4
  • 21
  • 26
0
votes
1 answer

Android Loading listview items from service results in hang

In my Android application, I have a ListActivity. This ListActivity uses a SimpleAdapter that I fill with items from my service. So, in my code, I do: MySuperCoolService.Binder serviceBinder = null; private ServiceConnection serviceConnection = new…
Isaac Waller
  • 32,709
  • 29
  • 96
  • 107
0
votes
1 answer

Starting a Service in an AlertDialog and have an outside Activity bound to it

First of all I've tried searching for this ans was unsuccessful. If my question is out there already answered could someone please point me to it? Thank you very much for either helping me here by looking at this, or even by skimming this and…
KellyTheDev
  • 891
  • 2
  • 12
  • 31
0
votes
0 answers

Azure Pipeline: Run Azure command in PowerShell script got "Insufficient privileges to complete the operation", even run as the service connection

I tried to run a powershell script as Service Connection. Given that all the parameters are correct, no powershell script syntax error. The Service connection is also the valid one as I normally use it successfully for other AzureCLI task. I am sure…
0
votes
1 answer

Add SSH service connection using a build pipeline in azure devops

How can i add a new ssh service connection using a build pipeline in azure devops. I would like to specify the username ip and the key and grant access to all pipelines ssh service connection using pipeline. Didnt get any results to do this!
neelam
  • 1
0
votes
0 answers

How can I use a different Azure Pipeline Service Connection on a pipeline?

First of all I am sorry if the answers to this question are obvious. I am still on the very steep learning path on this topic. I have a pipeline in Azure Pipelines using a YAML pipeline defined in a BitBucket Cloud repository. It was created by a…
0
votes
0 answers

Issues Changing Azure DevOps Project Level Service Connection Security Users/Roles

As the Azure DevOps admin at my organization I want to automate our standards for Service Connection security--but I'm at a standstill because I can't seem to make straight forward changes to Project level Service Connection security manually via…
rrp
  • 1
0
votes
1 answer

How to find the auto-created service connection when deploying to AKS

During a pipeline run, under deployment job, providing a deployment environment eliminates the need of providing service connection manually. I'd guess, it's either creating a new SC at this time or it would have created SC at the time of…
0
votes
1 answer

Azure DevOps on-premise cannot verify Kubernetess service connection

I am creating New Kubernetes service connection in Azure DevOps Server 2020 Update 1 via KubeConfig. When I click to Verify that the connection it says that Verification Failed with the generic error: Failed to query service connection API:…
0
votes
1 answer

Failed to send query to service connection API when using Azure devops api serviceendpoint to create kubernetes service connection

I am trying to use the https://dev.azure.com//_apis/serviceendpoint/endpoints?api-version=6.0-preview.4 api to create a new kubernetes service connection. I want to use AzureSubscription auth, and as far as I know, it creates the service…
0
votes
1 answer

How to give permission to a pipeline to access a resource in Azure DevOps using CLI commands?

I have created an end-to-end CI/CD pipeline in Azure DevOps. I am trying to clone the original repository and create new pipelines using the Azure CLI(v1), using the below command: az pipelines create --name {PIPELINE_NAME} --description…
0
votes
1 answer

How do you get approvals and checks configuration for a given service connection via the Azure DevOps Rest API?

I would like to retrieve existing Branch and filter configuration settings for a existing SC. I am using below…
0
votes
1 answer

Access Variables From Git Service Connection in a YAML Azure Pipeline

I'm attempting to create a Scheduled Azure Pipeline where I clone a self hosted BitBucket git repository using a Service Connection and mirror it to an existing Azure git repository. A client keeps a a repository of code on their own BitBucket…
0
votes
1 answer

Azure devops service connection and central pipeline

I have a requirement of giving multiple teams access to a shared resource in azure. I therefore want to limit how people can publish changes to the shared resource. The idea is to limit the use of a service connection to a specific pipeline, as per…
JTIM
  • 2,774
  • 1
  • 34
  • 74