none
EWS Service Helper - Sharepoint - Office 365

    Question

  • We have a web part in share point that uses AD FS to authenticate the user and display's the email/inbox messages and when you click on the message it opens up outlook without having the user to log in.

    We recently upgraded the email system to use AD connect and the web part suddenly stopped working. It display's the email messages when you are logged into share point but when you click on the email message to view it; it asks for the email and password.

    vendredi 23 mars 2018 13:48

Toutes les réponses

  • Hi Sunny Vasty,

    For your issue, try to enable seamless Single Sign-on feature for Azure AD Connect.

    This way, when users are accessing applications on their corporate machines inside the corporate network, they don't need to type in their passwords to sign in.

    Check the article below:

    https://www.terminalworks.com/blog/post/2017/01/31/azure-ad-connect-single-sign-on-for-domain-joined-and-azure-ad-joined-computers

    Best regards,

    Grace Wang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    lundi 26 mars 2018 10:13
  • Hi Grace Wang,

    Users are students and they log into the machine using a student/guest domain. When they log into share point website using their student sign in, there is a web part that sign them into their email simultaneously and it was working fine until we upgraded to AD Connect from ADFS.

    Thanks,

    Sunny

    lundi 26 mars 2018 13:38
  • Hi Sunny,

    For clarification, please provide more information as below:

    Whether you use SharePoint 2013 on-premise?

    Whether you configure federation with on-premises Active Directory Federation Services (AD FS) and Azure AD, or just use Azure AD connect and no longer use AD FS?

    One of the AD FS’s major benefit is Single Sign-on, if you don’t use AD FS and then use AD FS, you need to configure seamless single sign-on to not re-enter the credential when access applications.

    Reference:

    https://blogs.technet.microsoft.com/pie/2017/02/06/do-i-really-need-adfs/

    If I misunderstand your issue, feel free to tell us.

    Best regards,

    Grace Wang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    mercredi 28 mars 2018 03:58
  • Hi Grace,

    We are using SharePoint 2013 on-premise with on-premise AD FS and there is a web part in SharePoint that we created using EWS Helper, what it does is it uses the information user used to sign in to share point and use that to log into outlook.

    For outlook itself we are using Azure AD connect. (We recently moved to Azure AD Connect).

    So, now the problem is; before we made the switch to Azure AD Connect, when the user logs into SharePoint, the Web Part signs the user into outlook and if the user clicks on an email message it will open a new page and takes the user to outlook without having to log in again.

    But now, it works fine in SharePoint but when the user clicks on a message, it asks them to log into outlook.

    I am not sure but i think that the SharePoint is using AD FS and outlook is using Azure AD Connect, they are not communicating properly.

    Thanks for all of your help.

    Thanks,

    Sunny


    mercredi 28 mars 2018 16:20
  • Hi Sunny,

    It seems that the web part created using EWS Helper cannot get the authentication information after you move to Azure AD Connect. Please check the code you use in the web part.

    You can use Fiddler to troubleshoot your issue. It helps you debug web applications by capturing network traffic between the Internet and test computers.

    Best regards,

    Grace Wang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    mardi 3 avril 2018 02:14
  • Hi Grace,

    I tried using Fiddler, but did not have much luck with it. What i am having trouble with is that it loads the emails in sharepoint but when you click on the email to open it, it asks for username and password again.

    -Sunny

    mercredi 13 juin 2018 14:43
  • Hi Sunny,
    is there single sign on enabled for on premise and online environment.
    Are you using the same parameter to login to SharePoint On-premise and Exchange online like account name or email id or it's different.If it's different you need to setup single sign on to log on to Exchange online or Office 365 with on-premises credentials and then only it will not ask to login again while opening mails.

    Best,

    Soni K


    mercredi 13 juin 2018 15:20
  • Hi Soni K,

    Don't the user would have to log into the machine user the same credentials? In my case, user log into the machine using a guest account and then log into SharePoint.

    Please read the thread above. 

    Thanks,

    Sunny


    jeudi 14 juin 2018 18:33
  • Hi,

    You can consider these points

    AD and Azure AD connected seamlessly and there is no interruption. All your user's email Ids are correctly formatted before moving to SharePoint Online.

    Everyone has license to access the SharePoint Online exchange and Your outlook correctly configured to use SharePoint Online Exchange, especially Incoming and Outgoing email server endpoint.


    Murugesa Pandian MCSA,MCSE,MCPD

    Gear up for some solid action by doing. Slide,theory and blog won't useful much. 
    After all world likes only doers not sayers/speakers .

    jeudi 14 juin 2018 18:44