Open pooyaco opened 3 years ago
Could you provide instructions on how to reproduce this?
you can simply passing url of an on prem CRM to it as parameter
in addition reviewing the code using Reflector shows that the only authentication method used is Azure AD
see the bellow
protected internal override int RunCore(CompilerTextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken = new CancellationToken()) { List<Diagnostic> diagnostics = new List<Diagnostic>(); object[] args = new object[] { this.Arguments.ServiceUri }; consoleOutput.WriteLine(ToolResources.Authenticating, args); AzureADAuthenticationHelper helper = new AzureADAuthenticationHelper(clientId, authority, redirectUri, consoleOutput);
altpgen.exe can not be used for on premise dynamics 365 for sales (CRM) it seems the authentication method is only for Azure AD