Can GPT-4 access resources that require Azure AD authentication?

鍋綿管理者 20 Reputation points
2023-10-10T05:50:50.2633333+00:00

Can GPT-4 access resources that require Azure AD authentication? For example, we want GPT-4 to answer questions like the following.

Please summarize the document at the following URL:

https://xxx.sharepoint.com/sites/yyy/Shared Documents/zzz.xlsx

And is there sample code somewhere to achieve this?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,250 questions
0 comments No comments
{count} votes

Accepted answer
  1. AshokPeddakotla-MSFT 28,216 Reputation points
    2023-10-10T10:15:19.35+00:00

    鍋綿管理者 Greetings & Welcome to Microsoft Q&A forum!

    Can GPT-4 access resources that require Azure AD authentication?

    To access resources that require Azure AD authentication, you need to authenticate your application with Azure AD. More complex security scenarios require Azure role-based access control (Azure RBAC).

    OpenAI supports Azure Active Directory (Azure AD) authentication with managed identities for Azure resources. Managed identities for Azure resources can authorize access to Azure AI services resources using Azure AD credentials from applications. By using managed identities for Azure resources together with Azure AD authentication, you can avoid storing credentials with your applications that run in the cloud.

    Please see How to configure Azure OpenAI Service with managed identities for more details.

    we want GPT-4 to answer questions like the following. Please summarize the document at the following URL: https://xxx.sharepoint.com/sites/yyy/Shared Documents/zzz.xlsx And is there sample code somewhere to achieve this?

    Regarding your question about summarizing a document, GPT-4 is a language model that can generate text based on input text.

    It does not have built-in functionality to summarize documents.

    Alternatively, Check using document summarization and conversation summarization and How to use document summarization for more details.

    Also, see Text Analytics for Extractive Summarization and Samples for Azure Text Analytics client library for Python for samples.

    Do let us know if that helps or have any other queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further queries do let us know.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful