Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Renewed Certificate on Domain server and CRM server- Stopped working online exchange integration and online sharepoint intgration- Any Idea?

Posted on by 62

Hi Team,

Thanks for reading my question and hoping for answer if you faced same kind of issue earlier.

Current Scenario:

1. CRM is on premise

2. Exchange Online server is there

3. Only one tenant setup is there

4. Sharepoint is online

1. Due to expiry of certificate, I have renewed Certificate on Domain server and CRM server. CRM is working with Claim based Authentication

2. Online exchange server is not working. Apppoll user already have read permission for certificate

When i test connect for server profile there is error -Authorizing by using microsoft access control service as below

*********************
Message from 365::
*********************
Aquiring Token from ACS has failed. Please check if your tenantId is specified correctly in your Email Server Profile, and make sure your Exchange and CRM are under the same tenant
*****************************
Request to Exchange::
*****************************
<Trace Tag="EwsRequestHttpHeaders" Tid="109" Time="2020-08-22 17:38:28Z">
POST /EWS/Exchange.asmx HTTP/1.1
Content-Type: text/xml; charset=utf-8
Accept: text/xml
User-Agent: ExchangeServicesClient/15.00.1076.004
Accept-Encoding: gzip,deflate


</Trace>
<Trace Tag="EwsRequest" Tid="109" Time="2020-08-22 17:38:28Z" Version="15.00.1076.004">
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:m="">schemas.microsoft.com/.../messages" xmlns:t="">schemas.microsoft.com/.../types" xmlns:soap="">schemas.xmlsoap.org/.../">
<soap:Header>
<t:RequestServerVersion Version="Exchange2013" />
</soap:Header>
<soap:Body>
<m:FindFolder Traversal="Shallow">
<m:FolderShape>
<t:BaseShape>AllProperties</t:BaseShape>
</m:FolderShape>
<m:IndexedPageFolderView MaxEntriesReturned="1" Offset="0" BasePoint="Beginning" />
<m:ParentFolderIds>
<t:DistinguishedFolderId Id="inbox" />
</m:ParentFolderIds>
</m:FindFolder>
</soap:Body>
</soap:Envelope>
</Trace>

3. Share point gives below error

<errorlog><sites>
<site>
<url>XXXX.sharepoint.com/.../url>
<exception>Failed to connect to SharePointSite.</exception>
<errorcode>-2147088205</errorcode>
</site>
</sites></errorlog>

  • Pankaj Gogoi Profile Picture
    Pankaj Gogoi 3,177 on at
    RE: Renewed Certificate on Domain server and CRM server- Stopped working online exchange integration and online sharepoint intgration- Any Idea?

    Hi Sushma,

    Please refer this thread and see if it resolves your issue.

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/276990/aquiring-token-from-acs-has-failed-please-check-if-your-tenantid-is-specified-correctly-in-your-email-server-profile-and-make-sure-your-exchange-and-crm-are-under-the-same-tenant

    Best Regards

    PG

  • USD Profile Picture
    USD 62 on at
    after-certificate-renewal-of-adfs-and-crm-server-online-exchange-integration-online-sharepoint-integration-stopped-working-any-idea

    Hi Team,

    Thanks for reading my question and hoping for answer if you faced same kind of issue earlier.

    Current Scenario:

    1. CRM is on premise

    2. Exchange Online server is there

    3. Only one tenant setup is there

    4. Sharepoint is online

    1. Due to expiry of certificate, I have renewed Certificate on Domain server and CRM server. CRM is working with Claim based Authentication

    2. Online exchange server is not working. Apppoll user already have read permission for certificate

    When i test connect for server profile there is error -Authorizing by using microsoft access control service as below

    *********************
    Message from 365::
    *********************
    Aquiring Token from ACS has failed. Please check if your tenantId is specified correctly in your Email Server Profile, and make sure your Exchange and CRM are under the same tenant
    *****************************
    Request to Exchange::
    *****************************
    <Trace Tag="EwsRequestHttpHeaders" Tid="109" Time="2020-08-22 17:38:28Z">
    POST /EWS/Exchange.asmx HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Accept: text/xml
    User-Agent: ExchangeServicesClient/15.00.1076.004
    Accept-Encoding: gzip,deflate


    </Trace>
    <Trace Tag="EwsRequest" Tid="109" Time="2020-08-22 17:38:28Z" Version="15.00.1076.004">
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:m="">schemas.microsoft.com/.../messages" xmlns:t="">schemas.microsoft.com/.../types" xmlns:soap="">schemas.xmlsoap.org/.../">
    <soap:Header>
    <t:RequestServerVersion Version="Exchange2013" />
    </soap:Header>
    <soap:Body>
    <m:FindFolder Traversal="Shallow">
    <m:FolderShape>
    <t:BaseShape>AllProperties</t:BaseShape>
    </m:FolderShape>
    <m:IndexedPageFolderView MaxEntriesReturned="1" Offset="0" BasePoint="Beginning" />
    <m:ParentFolderIds>
    <t:DistinguishedFolderId Id="inbox" />
    </m:ParentFolderIds>
    </m:FindFolder>
    </soap:Body>
    </soap:Envelope>
    </Trace>

    3. Share point gives below error

    <errorlog><sites>
    <site>
    <url>cembrit.sharepoint.com/.../url>
    <exception>Failed to connect to SharePointSite.</exception>
    <errorcode>-2147088205</errorcode>
    </site>
    </sites></errorlog>

  • USD Profile Picture
    USD 62 on at
    After certificate renewal of ADFS and CRM server, online exchange integration/Online Sharepoint Integration stopped working. Any idea?

    Hi Team,

    Thanks for reading my question and hoping for answer if you faced same kind of issue earlier.

    Current Scenario: 

    1. CRM is on premise 

    2. Exchange Online server is there 

    3. Only one tenant setup is there

    4. Sharepoint is online

    1. Due to expiry of certificate, I have renewed Certificate on Domain server and CRM server. CRM is working  with Claim based Authentication

    2. Online exchange server is not working. Apppoll user already have read permission for certificate

    When i test connect for server profile there is error -Authorizing by using microsoft access control service as below

    *********************
    Message from 365::
    *********************
    Aquiring Token from ACS has failed. Please check if your tenantId is specified correctly in your Email Server Profile, and make sure your Exchange and CRM are under the same tenant
    *****************************
    Request to Exchange::
    *****************************
    <Trace Tag="EwsRequestHttpHeaders" Tid="109" Time="2020-08-22 17:38:28Z">
    POST /EWS/Exchange.asmx HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Accept: text/xml
    User-Agent: ExchangeServicesClient/15.00.1076.004
    Accept-Encoding: gzip,deflate


    </Trace>
    <Trace Tag="EwsRequest" Tid="109" Time="2020-08-22 17:38:28Z" Version="15.00.1076.004">
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="">www.w3.org/.../XMLSchema-instance" xmlns:m="">schemas.microsoft.com/.../messages" xmlns:t="">schemas.microsoft.com/.../types" xmlns:soap="">schemas.xmlsoap.org/.../">
    <soap:Header>
    <t:RequestServerVersion Version="Exchange2013" />
    </soap:Header>
    <soap:Body>
    <m:FindFolder Traversal="Shallow">
    <m:FolderShape>
    <t:BaseShape>AllProperties</t:BaseShape>
    </m:FolderShape>
    <m:IndexedPageFolderView MaxEntriesReturned="1" Offset="0" BasePoint="Beginning" />
    <m:ParentFolderIds>
    <t:DistinguishedFolderId Id="inbox" />
    </m:ParentFolderIds>
    </m:FindFolder>
    </soap:Body>
    </soap:Envelope>
    </Trace>

    3. Share point gives below error

    <errorlog><sites>
    <site>
    <url>cembrit.sharepoint.com/.../url>
    <exception>Failed to connect to SharePointSite.</exception>
    <errorcode>-2147088205</errorcode>
    </site>
    </sites></errorlog>

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans