how to configure aad app manually for sf cluster windows authentication?

Dhruv 1 Reputation point
2020-07-21T13:26:29.543+00:00

Hi ,

I want to setup windows authentication for service fabric cluster explorer access so it does not prompt for server certificate. I don't want to use admin client certificate too. I want only windows authentication to handle the access part. I do not have azure AD Admin priviledges thats why i am not able to use the setupapplication.ps1 script provided in below blog
https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-creation-setup-aad

Is there any alternative way to setup the windows authentication?

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
269 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,069 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shashi Shailaj 7,606 Reputation points Microsoft Employee
    2020-07-21T15:51:47.917+00:00

    Hello Dhruv-5639 ,

    I am not sure how you have hosted the application which you are trying to orchestrate and manage using Service fabric. As far as I know , if you have application hosted on Azure (*Not on Azure Virtual Machines. Azure VM *) you will be required to use the azure AD authentication . you cannot use windows authentication with the same. If you do not have admin access to azure AD then you may need to contact a global admin as the script goes through admin consent for the whole tenant which only global admin can provide. hence the script needs to be run with Global azure AD admin credentials.

    If you require to do this in production with windows auth , it wont be possible for any app that is hosted in Azure . But if you can host your app locally on a windows machine or a Azure VM then you can use the gMSA account with standalone service fabric cluster . Using a gMSA with a standalone Service Fabric cluster requires Active Directory on-premises within your domain , so you may use your production AD and contact the domain admin for helping you create a gMSA account as mentioned in the linked article.

    In case you are testing something , I would suggest you to signup for a test free trial subscription where you can run the same as you would have both rights on azure subscriptions as well as the associated directory if you create it with a new email account in a private browser session. Generally we tend to create a new azure subscription with our production email which is tied to original directory where we do not have rights hence I have mentioned to use a private browser session and use a Outlook.com account or any personal email address to create the free trial subscription. If you would like to do it on azure VMs then you can create a active directory domain controller on a Azure VM within your test setup and setup the service fabric cluster accordingly by adding it on other Azure VMs for role separation.

    Hope the clarification helps. Should you have any further queries , please feel free to let us know and we will be happy to help . In case the information provided helps , please do accept it as answer so that it can be helpful to other community members.

    Thank you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.