Dynamics 365 Marketing push notification not sending - android-studio

We are trying to implement Push Notifications for Dynamics 365 marketing. Using the documentation from Microsoft Create push notifications
My Android studio successfully receive test notifications from Firebase in my emulator we well as on my Android Phone.
Device FcmToken and ApiToken sent successfully to D365. Like in this article Device registration for Android applications
D365 say its got a valid connection to my app as well as found my device. I can also see my mobile devices was registered with the correct Contact id.
I configured then a push and using the "Test Send" and selecting the app and the contact I receive a screen pop-up "Test message has been sent successfully"
However I never receive the notification on the device.
Firebase test messages works perfectly.
Hope someone can help me in pointing out what I'm missing.
Thanks in advance.

Related

Azure Test Send Not Working

I have an android application in which I am trying to implement Azure Push Notification. I am doing the following steps:
Create an android application.
Register the android application developed in step one to get the token id.
Create a project in the Firebase Console and copy the legal server key.
Create a notification hub.In the notification hub under gcm register the legal server key generated in step 3.
Send a notification through test send feature of the azure portal.
I am getting success message but nothing is delivered to the device. Am I missing any step? Please suggest my work is stuck because of this.

Microsoft Azure Bot App Skype Channel not Working

I have now spent too much time on this issue and still can't seem to fix it.
I have an Azure Bot and I have configured it for Microsoft Teams and Skype.
They do not seem to be working.
The Skype Bot Publish is still 'inReview', I can add the Bot as a contact on skype/teams and when I send a message it is 'Sent' according to Skype, but I do not get a reply.
The Azure Webchat (Test in Webchat) works flawlessly on the Azure Web interface.
There must be something that I'm missing?
Since the last update there does not seem to be an updated how to or explanation to the newly added fields.
When you publish the Skype channel there is an option:
Bot website? What should be put here?
Also on the Calling section:
Webhook (for calling)
Thank you.
More pictures:

azure-notificationhubs IOS Bad request

I send notifications to mobile platforms via Azure portal. There is no problem on Windows and Android platforms, but I can not send 4 days notice to the IOS platform and I get this error
According to your description, I have tested sending test messages to my mobile platform on Azure portal, I have configured Notification Services for Windows (WNS), then I could send test message successfully to my UWP app. While sending a message to Apple platform, then I could encounter the same error as follows:
Since the error is too broad, then I leverage Notification Hub sdk to send a message to Apple platform as follows:
hub.SendAppleNativeNotification(
"{ \"aps\": { \"alert\": \"This is my alert message for iOS!\"}}");
Error
In summary, please make sure you have correctly configured the Notification Services for Apple (APNS) and the notification payload format is correct.
Azure notification hub uses 1 year of apple certification. Since this time has passed, I am getting a bad request error, I wish it was somewhere, certifications have been renewed and the problem is solved

Azure NotificationHub Invalid credentials when sending push

I've set up an Azure Notification Hub and I have gone through all the steps to incorporate Push Notification into my Android app. The app has been working fine, receiving the push notifications just like it should. Then today I went to try and send a push and it failed. So I tried from the Azure Portal and it failed there too.
It seems to be only Android related though, as the devices that run my app in iOS are receiving the Push Notification like they should. I know for a fact I have not changed anything in my code. But instead of getting the Push Notification like I should I now get the following message in Azure portal.
The Push Notification System rejected the request because of an invalid credential
Does anyone have any idea why this would happen? I'm stumped.
I thought at first maybe it was something with my API key (which again I have not changed) so I checked. The Google Cloud Message API Key in the Azure Portal matches what I have in my Google API Console, so it's not that.
What could it be?
Ok, so here is how I fixed my issue:
In Google API Manager I used to only have an api key of type - Android
I created another key of type - Server, and copied that into my azure gcm config, and away she goes... notifications working again

Receive push notification in WP8.1

I'm new to Windows Phone development and very new to push notifications.
I'm developing a application for my client which uses the Azure Mobile Services push notification. I read THIS blog and added following code in my App.xaml at the top of the Application_Launching method.
var channel = HttpNotificationChannel.Find("MyPushChannel");
if (channel == null)
{
channel = new HttpNotificationChannel("MyPushChannel");
channel.Open();
channel.BindToShellToast();
}
channel.ChannelUriUpdated += new EventHandler<NotificationChannelUriEventArgs>(async (o, args) =>
{
var hub = new NotificationHub("<hub name>", "<connection string>");
await hub.RegisterNativeAsync(args.ChannelUri.ToString());
});
For the channel name I'm using Device Token. For hub name and connection string I've to ask my client.
But still I'm confuse that how it will get the notification? What are the next steps to receive the notifications? I want to receive the notifications when the app is running in front and back.
Also, I have to navigate to different-2 screens using these notifications.
Please help me.
UPDATE:
I have a Azure Mobile Service provided by the client.
I have the hub and it's connection string.
I wan to receive raw push notifications in my Windows Phone 8.1 silverlight app.
UPDATE
Created a new demo Windows Mobile 8.1 Silverlight app and tried THIS. It worked perfectly. I'm getting the raw notifications in this demo app.
Now I want to know how can I connect it with my client's API i.e. Azure Mobile Service / Hub? Or there is no need to setup a connection between the created channel and AMS/Hub?
In last two days I read a lot on the internet but there is no solution for my problem. Please help me.
Thanks
Kapil
https://msdn.microsoft.com/en-us/library/windows/apps/jj679948.aspx
This is what you need to work with Push notifications in your windows phone 8.1 application

Resources