Connect to Azure Service Bus using connection settings from Azure Management Portal #726
Comments
Got a workaround using ACS connection setting rather than the default SAS setting which you get from Azure Management Portal. I needed to delete my existing service bus namespace and then recreate it using powershell. Then I could get the ACS setting from Azure Management Portal. See the comment from @Bottle here Azure/azure-sdk-for-java#437 for details. However it would be nice however if we could use SAS from the SDK since that is now the default within the Azure Management Portal. |
Hi, it would be nice to rewirte ServiceBuilder.php to use SAS, I'm not able to create ACS namespace using powershell from my macbook |
This is quite the showstopper for using this library. Is there anything I can do to help out with getting this implemented quickly? |
We are working on ARM implementation of Azure SDK for PHP. However, if someone provides a PR, I'm happy to review it and release a new version of the SDK. |
Does this mean that the error I'm having: |
@timbrand did you solve this issue? |
@Shaked Actually, I stopped the implementation and went back to RabbitMQ. |
@timbrand Thanks for the reply. In case you still need it, I have it working here: https://github.com/Shaked/azure-sdk-for-php. I didn't do a pull request as the contribution document is way too long and I have no time to follow all the guidelines. |
@Shaked please, send a PR. I will have a look. I can also help you with the contribution document. |
@Shaked Do you think you can address the PR issues in the short term? :) We have business partners who we'd love to roll to a new version and use SAS instead of monkeying around with ACS. |
@smpilo AFAIU @sergey-shandar is on it. I will try to fix the comments that I saw in the pull request but I have no time to do the entire process. In the meanwhile, you can require the package from my repository if you would like |
Downgrading to 0.4 worked for me, not the best of the solutions I know ... composer.json:
|
I'm trying to connect to an Azure Service Bus Topic from PHP using the SDK for PHP and have had no luck getting past the connection string. I am using the connection string from the Azure Management Portal and it looks something like this
Endpoint=sb://my-sb-namespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=blahblah=
.Here is my code:
When I run this script I get the following error:
Any ideas?
The text was updated successfully, but these errors were encountered: