Azure / azure-notificationhubs-dotnet

.NET SDK for Azure Notification Hubs
MIT License
70 stars 123 forks source link

SendDirectNotificationAsync doc does not specify that List<string> is only available in Basic tier or higher #200

Open jsquire opened 3 years ago

jsquire commented 3 years ago

Issue Transfer

This issue has been transferred from the Azure SDK for .NET repository, #23262.

Please be aware that @Reisclef is the author of the original issue and include them on any questions or replies.

Details

The SendDirectNotificationAsync() method which utilises a string parameter works successfully.

However, if passing in a list of string tokens (using the IList parameter), and your Notification Hub is on the Free tier, Azure will throw an error: "Microsoft.Azure.NotificationHubs.Messaging.QuotaExceededException: This operation is not available for your tier".

I appreciate that this is more down to the way the tiers are configured within Azure itself, but I thought that this area of the docs could perhaps include information about this.

It's not especially clear that the single send method will be successful on the free tier, but that the higher tiers are required for sending the list.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

mpodwysocki commented 3 years ago

@Reisclef thank you for the report. Yes, this is a documentation issue that we will fix both here and our documentation.