I was referring 'https://azure.microsoft.com/en-us/documentation/articles/active-directory-saas-sap-hana-cloud-platform-tutorial/' for the R&D on 'how to enable single sign on with Azure active directory for SAP HANA XS application'.
Please clarify the below 2 points.
1) What does SAP HANA 'application' means here? Does the xs service app also can be used to integrate with Azure Active Directory (AAD)?
2) I was unable to do 'Assigning a role to a user' step. In cockpit > Authorizations > Users, I enetered my AAD user, then clicked on 'Show Assignments'. There were no roles displayed which is expected being an AAD user. I clicked on 'Assign' as you mentioned in your document but there were no 'Role' available to select in dropdown.
By default, below values are selected in the popup and no other values are available.
Account: services
Application: dispatcher
Role:-----
After doing the steps mentioned in the tutorial, I can see 'SAP HANA Cloud App' in https://myapps.microsoft.com/ ( yay :) ). But when I click on it, it asks for the credentials again and only after entering SAP HANA db credentials, I can access the app. Obviously this is not what is expected. The XS app has no authentication set in .xsaccess file in SAP HANA.
Thanks! Ramees