Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Error Message by loggin with Office365 "You cannot sign in due to a technical issue. Contact your system administrator."

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, All

i had integrated with office365 and nav 2016 according to ms guide.

when i open the windows client and web client, i can see the office365 sign in page.

_74C7F8BBC0C9_-4.png

after the login, the error message comes out. web client also has same error.

_74C7F8BBC0C9_-5.png

_74C7F8BBC0C9_-6.png

---------------------------
Microsoft Dynamics NAV
---------------------------
You cannot sign in due to a technical issue. Contact your system administrator.
---------------------------
OK  
---------------------------

please help.

thank you.

*This post is locked for comments

  • GaneshKulpe Profile Picture
    GaneshKulpe 10 on at
    RE: Error Message by loggin with Office365 "You cannot sign in due to a technical issue. Contact your system administrator."

    Hi,

    I got same error and fixed with below step

    Set-NavSingleSignOnWithOffice365 -AuthenticationEmail "emailid” -NavServerInstance “instance name” -NavUser “username” -NavWebAddress “serverip:8080/DynamicsNAV110” -NavServerCertificateThumbprint "**********11AE0FEE5A86528" -NavWebServerInstanceName “instancename”

    (Azure and AD)

    Login to your Office 365 Azure AD.

    Create an Azure AD Application . App ID and Reply Url should be like

    Redirect url = serverip:8080/DynamicsNAV110 (https without /)

    Application ID url = serverip:8080/DynamicsNAV110 (http with /)

    Step 2 (Setup Files)

    Navsetting.json> Set Credentials to AccessControlService (Can leave this setting )

    Client User Settings > Set Credentials to AccessControlService

    Client User Settings > ACSUri > Replace (login.windows.net/.../wsfed ip/DynamicsNAV110/)

    Step 3 (NAV Instance)

    It is very important to disable "Enable Certification Validation" in your instance.

    Set Credentials to NavUserPassword

    Go to Azure section in NAV instance administration.

    Set serverip:8080/DynamicsNAV110 as your Azure AD App ID URI

    Replace WS-Federation Login Endpoint with the ACSUri string from your client user settings config file.  (abovelink)

    Restart everything.

    Let me know issue fix or not.

  • CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Error Message by loggin with Office365 "You cannot sign in due to a technical issue. Contact your system administrator."

    Hi,

    I encountered the similar situation. any solution??

    My event viewer as below

    + System
    - Provider
    [ Name] MicrosoftDynamicsNavServer$DynamicsNAV110
    - EventID 231
    [ Qualifiers] 0
    Level 3
    Task 12
    Keywords 0x80000000000000
    - TimeCreated
    [ SystemTime] 2017-12-06T12:04:07.271908600Z
    EventRecordID 2275
    Channel Application
    Computer Nav2018
    Security
    - EventData
    Server instance: DynamicsNAV110 Tenant ID: <ii>Type: System.IdentityModel.Tokens.AudienceUriValidationFailedException Message: <ii>ID1038: The AudienceRestrictionCondition was not valid because the specified Audience is not present in AudienceUris. Audience: 'http://dynamicsnavwinclient/'</ii> StackTrace: at System.IdentityModel.Tokens.Saml2SecurityTokenHandler.ValidateToken(SecurityToken token) at Microsoft.Dynamics.Nav.Service.NavSaml2SecurityTokenFactory.ValidateToken(Saml2SecurityToken saml2SecurityToken, Saml2SecurityTokenHandler saml2SecurityTokenHandler) at Microsoft.Dynamics.Nav.Service.NavSaml2SecurityTokenFactory.CreateAndValidateWithAudienceList(String serializedToken, FederationMetadataProvider federationMetadataProvider, AudienceRestriction audienceRestriction, String tokenId) at Microsoft.Dynamics.Nav.Service.NavSecurityTokenFactory.Create(String response, Func`1 tokenSigningKey, FederationMetadataProvider federationMetadataProvider, String identityProviderAddress, String tokenId, String tokenType, NavTenant tenant) at Microsoft.Dynamics.Nav.Service.WSFederationValidator.Validate(NavTenant tenant, String userName, String password, String navAppId) at Microsoft.Dynamics.Nav.Service.ClientServicesUserNamePasswordValidator.ValidateCredentials(String userName, String password, NavTenant tenant, String navAppId) at Microsoft.Dynamics.Nav.Service.ClientServicesUserNamePasswordValidator.Validate(String userName, String password) Source: System.IdentityModel HResult: -2146233087 </ii>
  • Suggested answer
    RE: Error Message by loggin with Office365 "You cannot sign in due to a technical issue. Contact your system administrator."

    Hi,

    It is best if you can contact your partner.

    Additionally, this was discussed a while ago. If you want to have a look: community.dynamics.com/.../176173

    Hope it helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error Message by loggin with Office365 "You cannot sign in due to a technical issue. Contact your system administrator."

    thank you for your help.

    here is the logs.

    Error accessing Website Microsoft Dynamics NAV 2016 Web Client

    URL: ygtest.cloudapp.net/.../SignIn.aspx

    Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavAuthenticationException

    Message: You cannot sign in due to a technical issue. Contact your system administrator.

    StackTrace:

      at Microsoft.Dynamics.Nav.Client.FaultExceptionHelperClass.ConvertException(Exception ex, NavClientCredentialType credentialType)

      at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection[TChannel](ConnectFailedEventArgs connectFailedArgs, ConnectionRequest connectionRequest, ConnectionOptions connectionOptions, SpnSetting spnSettingToTry, Boolean allowSpnSettingsSwap, UserSettings& userSettings)

      at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection[TChannel](ConnectionRequest connectionRequest, ConnectionOptions connectionOptions, UserSettings& userSettings)

      at Microsoft.Dynamics.Nav.Client.Web.SimpleServerOperation.SimpleServerOperationConnectionEstablisher.OpenConnection[TChannel](ConnectionRequest connectionRequest, ConnectionOptions connectionOptions, UserSettings& userSettings)

      at Microsoft.Dynamics.Nav.Client.Web.SimpleServerOperation.Execute[TResult,TChannel](ConnectionOptions serverConnectionOptions, Func`2 operation, Func`2 localExceptionHandler)

    Source: Microsoft.Dynamics.Nav.Client.ServiceConnection----------------------------------

    Type: System.ServiceModel.Security.MessageSecurityException

    Message: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail.

    StackTrace:

    Server stack trace:

      at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)

      at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)

      at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)

      at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout)

      at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout)

      at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

      at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.SyncWaiter.TryGetChannel()

      at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.SyncWaiter.TryWait(TChannel& channel)

      at System.ServiceModel.Channels.ReliableChannelBinder`1.ChannelSynchronizer.TryGetChannel(Boolean canGetChannel, Boolean canCauseFault, TimeSpan timeout, MaskingMode maskingMode, TChannel& channel)

      at System.ServiceModel.Channels.ReliableChannelBinder`1.Send(Message message, TimeSpan timeout, MaskingMode maskingMode)

      at System.ServiceModel.Channels.SendReceiveReliableRequestor.OnRequest(Message request, TimeSpan timeout, Boolean last)

      at System.ServiceModel.Channels.ReliableRequestor.Request(TimeSpan timeout)

      at System.ServiceModel.Channels.ClientReliableSession.Open(TimeSpan timeout)

      at System.ServiceModel.Channels.ClientReliableDuplexSessionChannel.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

      at Microsoft.Dynamics.Nav.Types.Channels.ChunkingDuplexSessionChannel.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

      at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)

      at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)

    Exception rethrown at [0]:

      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)

      at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)

      at System.ServiceModel.ICommunicationObject.Open()

      at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.CallOpenConnection(IAsyncNavService server, ConnectionRequest connectionRequest)

      at Microsoft.Dynamics.Nav.Client.ConnectionEstablisher.OpenConnection[TChannel](ConnectFailedEventArgs connectFailedArgs, ConnectionRequest connectionRequest, ConnectionOptions connectionOptions, SpnSetting spnSettingToTry, Boolean allowSpnSettingsSwap, UserSettings& userSettings)

    Source: mscorlib----------------------------------

    Type: System.ServiceModel.FaultException

    Message: You cannot sign in due to a technical issue. Contact your system administrator.

    StackTrace:

    Source:

  • Suggested answer
    RE: Error Message by loggin with Office365 "You cannot sign in due to a technical issue. Contact your system administrator."

    Hi,

    Can you post the Event Viewer log when you open the RTC?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error Message by loggin with Office365 "You cannot sign in due to a technical issue. Contact your system administrator."

    thank you for prompt reply.

    if i change credentialtype to  NAVUserPassword . i can't sign in with office 365 user.

    i want to use office 365 user for signing in.

  • Suggested answer
    RE: Error Message by loggin with Office365 "You cannot sign in due to a technical issue. Contact your system administrator."

    Hi Twija,

    Here is a screenshot of another user had the same issue: 

    say.PNG

    The screenshot has been taken from this blog post: http://saurav-nav.blogspot.com/2013/11/nav-2013-r2-windows-client-web-client_6.html

    Hope it helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,759 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,468 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans