APIs for Integration With Microosft Staff Hub - ms-office

I am planning to integrate with Microsoft Staff Hub. Are there any APIs available to push data to Staff Hub?

Currently, no public API is available, but there is a closed preview available. You do need to specifically request access though.
https://staffhub.uservoice.com/forums/323718-general/suggestions/16755400-api-access-to-assign-shifts-complete-other-actio

Related

Azure Notification Hub compatible with Service Workers?

Can Azure Notification Hub work with Javascript browser ServiceWorkers (Notification and Push API)? Reading the documentation, it seems not to. However, I want to make sure.
Azure Notification Hub only seems to connect to a PNS and Not to service workers. (Apple Push Notification Service (APNS), Firebase Cloud Messaging (FCM), and Windows Notification Service (WNS))
https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-overview
As of time of writing, your understanding is correct. Here's our docs stating such. This being said, the Azure Notification Hubs team is aware of the ask and has backlogged support for browser push.

Is the Azure notification hub available to use?

We are developing a website and would like to use the Azure portal notification module. Does anyone know what this is built with and if we could implement this on our site rather than building from scratch? We have some some processes that take some time so want users to be able to go off and do other things and come back when it's completed. We host our product on Azure so if this is using an Azure feature then we can use this also.
Azure Notification Hubs provide an easy-to-use and scaled-out push engine that allows you to send notifications to any platform (iOS, Android, Windows, Kindle, Baidu, etc.) from any backend (cloud or on-premises).
Push notifications are delivered through platform-specific infrastructures called Platform Notification Systems (PNSes). They offer barebone push functionalities to deliver a message to a device with a provided handle, and have no common interface. To send a notification to all customers across the Android, iOS, and Windows versions of an app, the developer must work with Apple Push Notification Service(APNS), Firebase Cloud Messaging(FCM), and Windows Notification Service(WNS) separately.
Kindly take a look at the documents to know how it works, scenarios you could leverage Azure Notification Hubs for and how to integrate with your app.
https://learn.microsoft.com/azure/notification-hubs/notification-hubs-push-notification-overview
https://learn.microsoft.com/azure/notification-hubs/notification-hubs-app-service
Do provide more details on your requirement for better assistance.
The question is tagged for Azure Notification Hubs, but the screen shot you showing is for the notification section of the Azure Portal UI. I'm not aware that Microsoft makes the component available for third-party use.
Can you please remove the Notification Hubs tag from this issue as it's not related.

Do I need to connect Firebase to Azure Notification Hub?

I see that I can either connect directly (through Rest HTTP requests) to Google Firebase API but I can also connect it to Azure Notification Hub. I also understand that Firebase is free while Azure isn't.
Can you kindly describe what is the benefit of connecting Firebase to Azure rather than directly connecting to Google's API (if any)?
I'm using ASP.Net Core MVC as my backend.
Thank you
If you are doing one push platform only (Firebase in your case) and only considering basic scenarios, then there's not much difference between using it directly or via Notification Hubs (NH).
However, NH provides you with a set of really powerful features:
Cross-platform SDKs to allow device registrations from all major OSes and a unified way of sending pushes no matter which platform they are on
A feature that is unique across similar services is tagging and routing
Templating
Basic or extended telemetry
And some other features.
So, in short, yes you can do everything that NH does by yourself. It's just you'll spend a lot of time (and money on resources required to run it) while doing it. And this is an out of the box solution that has been tested through years and is used by some of the largest products on the market.

Can we register a web application to receive notifications from Azure Notification Hub?

I am trying to create a web application which receives notification from Azure Notification Hub.
Everywhere I only see mobile devices registering for notifications sent from back-end.
I want this web application to be used in browser and receives notification from Azure Notification Hub sent from back-end.
Thanks
Nope.
Azure Notification Hubs are exclusively for push notifications for mobile platforms.
If you want a code to receive a notification you shall take a look at Azure Service Bus Queues, Topics and Subscriptions. Then decide which of all to use.
It is mentioned in Notification Hubs FAQ (Do you support text message, email, or web notifications?) that you can do it by using SignalR on top of Notification Hubs :
Customers can implement this feature using SignalR on top of the supported server-side platforms.
As mentioned in previous answers Azure's Notification Hubs only work for mobile devices because behind the scenes it interacts with the various mobile platforms' push notification services such as the Apple Push Notification Service (APNS). It is not sending the notifications directly to the client. Since there are no push notification services for websites you need another technology.
Azure offers Service Bus Queues which would work, but it also offers SignalR which is probably the best solution in your case, and in fact the one I plan to use for a web frontend I am building for my service. SignalR handles all the low level connection details for you, i.e. it takes care of using the optimal protocol for the browser you are running in which is no mean task! It's fast, scalable and surprisingly easy to implement.

Azure Mobile Services vs Azure Notification Hubs - Which to use for Push Notifications?

this question could have been asked frequently but i really want to know the difference .I am totally confused .
I am planning to buy and use/implement Windows Azure for Push Notifications ,Toast Notifications and Live Tiles for my game . I want to know which one is better ? Azure Mobile Services or Notification Hub .
These two services sound the same , in the sense that they provide all the services related to push notifications . Though Azure Mobile services has some extra features like Data storage , user authentication etc ..
I also want to know whether i can use Notification Hub service via Azure Mobile services.
Like if i had bought/paid for Windows Azure Mobile Services can i use/access Notifications Hub too.
The reason i want to use Windows Azure for my game :
I want to send a toast notification to the user/device when another
user/device sends a challenge or Request (like for eg:
an option called "Challenge a friend").
Push Notifications to the Live Tile regarding "leaderboards" and
personal highscore .The Game Mode last played etc .
Make these facilities available to All platforms .(Initally i am implementing on WP8 with Live tiles).
I am also aware of the Free Trial available but i am worried about the risk of being charged.
Check the features/pricing of both on the official pages:
Azure Mobile Services
Azure Mobile Services provides a scalable cloud backend for building
Windows Store, Windows Phone, Apple iOS, Android, and HTML/JavaScript
applications. Store data in the cloud, authenticate users, and send
push notifications to your application within minutes.
Azure Notification Hubs
Azure Notification Hubs provides a highly scalable, cross-platform
push notification infrastructure that enables you to either broadcast
push notifications to millions of users at once or tailor
notifications to individual users. You can use Notification Hubs with
any connected mobile application—whether it’s built on Azure Virtual
Machines, Cloud Services, Web Sites, or Mobile Services.
Use Azure Mobile Services if you need a server backend for your app, where you store data and implement server side logic. Azure Notification Hubs is included, which you can use for push notifications.
Use only Azure Notification Hubs if you don't need server side data or logic or are already using another service for this and only need a service to send push notifications.
They have both FREE tiers which could fit your needs in the beginning.
Also, there is already a similar question here...

Resources