We tried creating Service instance for the Azure AD Resource in 2 ways
From K2 management Integration tab we tried Adding Service Instance and got service instance error - error issuing app only token.
Second way we tried creating service instance through smart object tester
which gave an exception
Microsoft.Identity.Model.Clients.ActiveDirectory Dll is missing
SourceCode.Smartobjects.Service.Management