How to get SSL/TLS digital signature certificate of sharepoint site hosted on Azure Cloud

Anonymous
2022-07-11T15:19:45.317+00:00

Hello,

I am developing a SAP application and I wanted to access the files stored in SharePoint site via Microsoft Graph APIs. When I am trying to get the access token first, I am getting the error as no trust relationship is maintained in SAP to access the SharePoint URL.

This means and MS SharePoint SSL/TLS certificate is not in the certificate list of the SAP, so I need to export the SharePoint SSL/TLS signing certificate and import it into SAP.

Can you please suggest how to get the certificate required here from Sharepoint/Office 365 hosted on Azure Cloud?

Thanks,
Mainak

Microsoft 365 and Office | SharePoint | Development
Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Tong Zhang_MSFT 9,251 Reputation points
    2022-07-12T08:26:43.037+00:00

    Hi @Anonymous ,

    As far as I know, if you want to get access token for Graph API, you should post to the URL https://login.microsoftonline.com/{TenantID}/oauth2/token , please re-retrieve the access token and check if the problem exists .Hope it can help you. Thanks for your understanding.

    More information for reference:
    https://dzone.com/articles/getting-access-token-for-microsoft-graph-using-oau
    https://jd-bots.com/2021/04/19/how-to-get-azure-access-token-using-postman-for-microsoft-graph-api/

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.