Azure-docs: Constant strings

Created on 13 Jun 2019  ยท  16Comments  ยท  Source: MicrosoftDocs/azure-docs

Where I can find this two connection strings in Azure:
public const string ListenConnectionString = "<Azure DefaultListenSharedAccess Connection String>";
public const string NotificationHubName = "<Azure Notification Hub Name>";


Document Details

โš  Do not edit this section. It is required for docs.microsoft.com โžŸ GitHub issue linking.

cxp notification-hubsvc product-question triaged

All 16 comments

@zboyanov, Thanks for the question! We are taking a look into this and will get back to you soon.

@zboyanov, You can find the 'Azure DefaultListenSharedAccess Connection String' from the Azure Portal.
In the Azure Portal > Navigate to your Notification Hub > On the "Manage" blade> Click on "Access Policies" where you will find both 'DefaultListenSharedAccessSignature' and 'DefaultFullSharedAccessSignature' the policies, you need to copy the DefaultListenSharedAccessSignature 'Connection string' from the "Click to clipboard' option. (Screenshot1):

image

And, to obtain the Azure Notification Hub name. Again, In the Azure Portal > Navigate to your Notification Hub > "Overview" blade > You will find the Azure Notification Hub name.
(Screenshot2):
image

Thank you for the fast response. :)

On Thu, Jun 13, 2019 at 10:56 PM AjayKumar-MSFT notifications@github.com
wrote:

@zboyanov https://github.com/zboyanov, You can find the 'Azure
DefaultListenSharedAccess Connection String' from the Azure Portal.
In the Azure Portal > Navigate to your Notification Hub > On the "Manage"
blade> Click on "Access Policies" where you will find both
'DefaultListenSharedAccessSignature' and 'DefaultFullSharedAccessSignature'
the policies, you need to copy the DefaultListenSharedAccessSignature
'Connection string' from the "Click to clipboard' option. (Screenshot1):

[image: image]
https://user-images.githubusercontent.com/44606227/59462248-f3274900-8e40-11e9-94d8-831fd98cc0dd.png

And, to obtain the Azure Notification Hub name. Again, In the Azure Portal

Navigate to your Notification Hub > "Overview" blade > You will find the
Azure Notification Hub name.
(Screenshot2):
[image: image]
https://user-images.githubusercontent.com/44606227/59463288-48645a00-8e43-11e9-8468-3237fdaaf1be.png

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/33238?email_source=notifications&email_token=ALKSOENYC4QBIRHNG2Y5CWTP2KQ7NA5CNFSM4HXXCBTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXU3MCI#issuecomment-501855753,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKSOEIPQEMSOJJNOY7YGLDP2KQ7NANCNFSM4HXXCBTA
.

@zboyanov, You're welcome! We will close this out, but if you feel you need more information please just let us know.

You do not have to replace it, just copy the content from the Azure Portal clipboard as mentioned below:
image

well when I try with Endpoint=sb I get that error

On Tue, Jun 18, 2019 at 1:30 PM AjayKumar-MSFT notifications@github.com
wrote:

You do not have to replace it, just copy the content from the Azure Portal
clipboard as mentioned below:
[image: image]
https://user-images.githubusercontent.com/44606227/59675020-0855fc00-91e2-11e9-9932-7167bd2e6f8a.png

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/33238?email_source=notifications&email_token=ALKSOEJS376VCMXEH55EDP3P3C2LLA5CNFSM4HXXCBTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX56CSY#issuecomment-503046475,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKSOEJP7YBXAP3VRH7WPHDP3C2LLANCNFSM4HXXCBTA
.

System.UriFormatException: Invalid URI: The URI scheme is not valid

On Wed, Jun 19, 2019 at 11:09 AM Zdravko Boyanov zxxxxxxx@gmail.com
wrote:

well when I try with Endpoint=sb I get that error

On Tue, Jun 18, 2019 at 1:30 PM AjayKumar-MSFT notifications@github.com
wrote:

You do not have to replace it, just copy the content from the Azure
Portal clipboard as mentioned below:
[image: image]
https://user-images.githubusercontent.com/44606227/59675020-0855fc00-91e2-11e9-9932-7167bd2e6f8a.png

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/33238?email_source=notifications&email_token=ALKSOEJS376VCMXEH55EDP3P3C2LLA5CNFSM4HXXCBTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX56CSY#issuecomment-503046475,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKSOEJP7YBXAP3VRH7WPHDP3C2LLANCNFSM4HXXCBTA
.

Edited:PII

And How can I register my apple device, so I can test send notifications?

On Wed, Jun 19, 2019 at 11:09 AM Zdravko Boyanov zxxxxxxx@gmail.com
wrote:

System.UriFormatException: Invalid URI: The URI scheme is not valid

On Wed, Jun 19, 2019 at 11:09 AM Zdravko Boyanov zbboyanov95@gmail.com
wrote:

well when I try with Endpoint=sb I get that error

On Tue, Jun 18, 2019 at 1:30 PM AjayKumar-MSFT notifications@github.com
wrote:

You do not have to replace it, just copy the content from the Azure
Portal clipboard as mentioned below:
[image: image]
https://user-images.githubusercontent.com/44606227/59675020-0855fc00-91e2-11e9-9932-7167bd2e6f8a.png

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/33238?email_source=notifications&email_token=ALKSOEJS376VCMXEH55EDP3P3C2LLA5CNFSM4HXXCBTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX56CSY#issuecomment-503046475,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKSOEJP7YBXAP3VRH7WPHDP3C2LLANCNFSM4HXXCBTA
.

@zboyanov, Typically copying from the UI (copy to clipboard) works, when exactly do you receive the Invalid URI error? Could you please post a screenshot after concealing any private details.

[image: Error.png]

On Wed, Jun 19, 2019 at 10:43 PM AjayKumar-MSFT notifications@github.com
wrote:

@zboyanov https://github.com/zboyanov, Typically copying from the UI
(copy to clipboard) works, when exactly do you receive the Invalid URI
error? Could you please post a screenshot after concealing any private
details.

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/33238?email_source=notifications&email_token=ALKSOEMVGGRUOT4YSBZA3S3P3KD47A5CNFSM4HXXCBTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDCIWQ#issuecomment-503719002,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKSOELBKNIGGHGXA3HTJK3P3KD47ANCNFSM4HXXCBTA
.

I've got one more question about the test send, how is it possible to
register my apple device so I can test the send.

On Thu, Jun 20, 2019 at 2:32 PM Zdravko Boyanov xxxxxxxxxx@gmail.com
wrote:

>
>

[image: Error.png]

On Wed, Jun 19, 2019 at 10:43 PM AjayKumar-MSFT notifications@github.com
wrote:

@zboyanov https://github.com/zboyanov, Typically copying from the UI
(copy to clipboard) works, when exactly do you receive the Invalid URI
error? Could you please post a screenshot after concealing any private
details.

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/33238?email_source=notifications&email_token=ALKSOEMVGGRUOT4YSBZA3S3P3KD47A5CNFSM4HXXCBTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDCIWQ#issuecomment-503719002,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKSOELBKNIGGHGXA3HTJK3P3KD47ANCNFSM4HXXCBTA
.

https://www.youtube.com/watch?v=le2lDY22xwM&t=3896s, in this video you do
it with Pusher, is it possible otherwise?

On Thu, Jun 20, 2019 at 2:35 PM Zdravko Boyanov xxxxxxxxxxx@gmail.com
wrote:

I've got one more question about the test send, how is it possible to
register my apple device so I can test the send.

On Thu, Jun 20, 2019 at 2:32 PM Zdravko Boyanov zbboyanov95@gmail.com
wrote:

>
>

[image: Error.png]

On Wed, Jun 19, 2019 at 10:43 PM AjayKumar-MSFT notifications@github.com
wrote:

@zboyanov https://github.com/zboyanov, Typically copying from the UI
(copy to clipboard) works, when exactly do you receive the Invalid URI
error? Could you please post a screenshot after concealing any private
details.

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/33238?email_source=notifications&email_token=ALKSOEMVGGRUOT4YSBZA3S3P3KD47A5CNFSM4HXXCBTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDCIWQ#issuecomment-503719002,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKSOELBKNIGGHGXA3HTJK3P3KD47ANCNFSM4HXXCBTA
.

my question also is do I need backend to send push notifications ?

On Thu, Jun 20, 2019 at 2:36 PM Zdravko Boyanov xxxxxxxx@gmail.com
wrote:

https://www.youtube.com/watch?v=le2lDY22xwM&t=3896s, in this video you do
it with Pusher, is it possible otherwise?

On Thu, Jun 20, 2019 at 2:35 PM Zdravko Boyanov xxxxxxxx@gmail.com
wrote:

I've got one more question about the test send, how is it possible to
register my apple device so I can test the send.

On Thu, Jun 20, 2019 at 2:32 PM Zdravko Boyanov xxxxxxxx@gmail.com
wrote:

>
>

[image: Error.png]

On Wed, Jun 19, 2019 at 10:43 PM AjayKumar-MSFT <
[email protected]> wrote:

@zboyanov https://github.com/zboyanov, Typically copying from the UI
(copy to clipboard) works, when exactly do you receive the Invalid URI
error? Could you please post a screenshot after concealing any private
details.

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/33238?email_source=notifications&email_token=xxxxxxxxxxxxxxxxxxxxxxxxxxSM4HXXCBTKYY3PNVWWK3TUL52HS4DFVREXG43VMxxxxxxxxxxxZLOORPWSZGODYDCIWQ#issuecomment-503719002,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKSOELBKNIGxxxxxxxxxxxxxCNFSM4HXXCBTA
.

nevermind everything is okay now

On Fri, Jun 21, 2019 at 3:55 PM Zdravko Boyanov zxxxxxxxx@gmail.com
wrote:

my question also is do I need backend to send push notifications ?

On Thu, Jun 20, 2019 at 2:36 PM Zdravko Boyanov zxxxxxxxxx@gmail.com
wrote:

https://www.youtube.com/watch?v=le2lDY22xwM&t=3896s, in this video you
do it with Pusher, is it possible otherwise?

On Thu, Jun 20, 2019 at 2:35 PM Zdravko Boyanov xxxxxxxxxxxxxx@gmail.com
wrote:

I've got one more question about the test send, how is it possible to
register my apple device so I can test the send.

On Thu, Jun 20, 2019 at 2:32 PM Zdravko Boyanov zxxxxxxxxxxxxxx@gmail.com
wrote:

>
>

[image: Error.png]

On Wed, Jun 19, 2019 at 10:43 PM AjayKumar-MSFT <
[email protected]> wrote:

@zboyanov https://github.com/zboyanov, Typically copying from the
UI (copy to clipboard) works, when exactly do you receive the Invalid URI
error? Could you please post a screenshot after concealing any private
details.

โ€”
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/33238?email_source=notifications&email_token=ALKSOEMVGGRUOT4YSBZA3S3P3KD47A5CNFSM4HXXCBTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDCIWQ#issuecomment-503719002,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKSOELBKNIGGHGXA3HTJK3P3KD47ANCNFSM4HXXCBTA
.

@zboyanov, Glad it is working fine now. Thanks for the update.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Agazoth picture Agazoth  ยท  3Comments

behnam89 picture behnam89  ยท  3Comments

jamesgallagher-ie picture jamesgallagher-ie  ยท  3Comments

spottedmahn picture spottedmahn  ยท  3Comments

ianpowell2017 picture ianpowell2017  ยท  3Comments