Skip to content

How are you getting the credentials to be put into the file based credentials #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
viswax2000 opened this issue Nov 16, 2017 · 0 comments

Comments

@viswax2000
Copy link

In your posts for service-bus-java-manage-queue-with-basic-features, you mentioned about file based credentials, which credentials do you want to put into that ? I hope those are the Service Principal client Id and key, but how are you getting that Service Prinicipal for your login id and password ? Or if it needs to create a new AAD Application, how to associate it to be able to create the resource groups, namespaces under our subscription id ? AM getting the error as below :
[RxIoScheduler-2] INFO com.microsoft.azure.management.servicebus.Namespaces createOrUpdate - 390-byte body:
{"error":{"code":"AuthorizationFailed","message":"The client '1b62a9c3-d97f-41cb-965f-388b65f2a78d' with object id '1b62a9c3-d97f-41cb-965f-388b65f2a78d' does not have authorization to perform action 'Microsoft.ServiceBus/namespaces/write' over scope '/subscriptions/adb1c381-b337-4db1-889b-e8dae5fbb822/resourceGroups/vccrg/providers/Microsoft.ServiceBus/namespaces/namespace3c633290e'."}}
[RxIoScheduler-2] INFO com.microsoft.azure.management.servicebus.Namespaces createOrUpdate - <-- END HTTP
The client '1b62a9c3-d97f-41cb-965f-388b65f2a78d' with object id '1b62a9c3-d97f-41cb-965f-388b65f2a78d' does not have authorization to perform action 'Microsoft.ServiceBus/namespaces/write' over scope '/subscriptions/adb1c381-b337-4db1-889b-e8dae5fbb822/resourceGroups/vccrg/providers/Microsoft.ServiceBus/namespaces/namespace3c633290e'.
com.microsoft.azure.CloudException: The client '1b62a9c3-d97f-41cb-965f-388b65f2a78d' with object id '1b62a9c3-d97f-41cb-965f-388b65f2a78d' does not have authorization to perform action 'Microsoft.ServiceBus/namespaces/write' over scope '/subscriptions/adb1c381-b337-4db1-889b-e8dae5fbb822/resourceGroups/vccrg/providers/Microsoft.ServiceBus/namespaces/namespace3c633290e'.: The client '1b62a9c3-d97f-41cb-965f-388b65f2a78d' with object id '1b62a9c3-d97f-41cb-965f-388b65f2a78d' does not have authorization to perform action 'Microsoft.ServiceBus/namespaces/write' over scope '/subscriptions/adb1c381-b337-4db1-889b-e8dae5fbb822/resourceGroups/vccrg/providers/Microsoft.ServiceBus/namespaces/namespace3c633290e'.
at com.microsoft.azure.AzureClient.createExceptionFromResponse(AzureClient.java:724)
at com.microsoft.azure.AzureClient.access$100(AzureClient.java:33)
at com.microsoft.azure.AzureClient$3.call(AzureClient.java:160)
at com.microsoft.azure.AzureClient$3.call(AzureClient.java:157)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant