diff --git a/docs-site/src/content/docs/features/connectors.md b/docs-site/src/content/docs/features/connectors.md
index 1b84ae0..3ed7075 100644
--- a/docs-site/src/content/docs/features/connectors.md
+++ b/docs-site/src/content/docs/features/connectors.md
@@ -81,11 +81,50 @@ Use the authentication methods offered by the selected connector in your environ
A sandbox repository connection is separate from an app's workflow connection. See [Sandbox setup](/guides/create-sandboxes/#1-create-the-configuration).
+### Create an OAuth service-provider connection
+
+When OAuth is available for a built-in service-provider connector:
+
+1. Add an action or trigger from the connector to a workflow.
+1. In **Connection**, select **Create new** and enter a connection name.
+1. If more than one authentication type is available, select the OAuth option.
+1. Complete any connector-specific prerequisites, then select **Sign in** and
+ complete sign-in and consent.
+1. Select the new connection and save the workflow.
+
+You can also start from the app's **Connections** page. Select **Add
+connection**, choose **Connectors**, select the connector, and complete the same
+sign-in flow. If OAuth isn't offered, it isn't enabled for that connector in
+your environment.
+
+Creating an OAuth service-provider connection configures authentication for
+that connector's actions and triggers. It doesn't automatically configure model
+calls or repository access for a sandbox. Complete those setup flows
+separately.
+
+### Manage an OAuth service-provider connection
+
+On the app's **Connections** page, find the connection under **Service provider
+connections**.
+
+- **Connected** means the authorization is ready to use.
+- **Not connected** means the authorization is missing or no longer valid.
+- **Unknown** means the connection state couldn't be determined.
+
+To restore authorization, edit the connection and select **Sign in** again. To
+change the account, delete the connection and create it again with the intended
+account. Deleting a connection also removes its OAuth authorization, so
+reconnect any workflow actions or triggers that used it.
+
+The app stores a reference to the OAuth connection, not the OAuth token or
+authorization code, in its workflow connection configuration.
+
### If a connector or operation doesn't work
- If the connector or operation isn't listed, confirm its deployment and enablement with your environment administrator. Build and the environment-specific GitHub Enterprise variant require explicit enablement.
- If a resource isn't listed or an action is denied, check the selected connection, service permissions, and resource scope.
- If an event trigger doesn't receive events, check its event filters and webhook or Service Hooks subscription, then inspect [run history](/features/runs-and-monitoring/).
+- If an OAuth connection remains **Not connected**, edit it and sign in again.
## HTTP for everything else
diff --git a/docs-site/src/content/docs/guides/create-sandboxes.md b/docs-site/src/content/docs/guides/create-sandboxes.md
index 20c96d2..63c6509 100644
--- a/docs-site/src/content/docs/guides/create-sandboxes.md
+++ b/docs-site/src/content/docs/guides/create-sandboxes.md
@@ -65,7 +65,25 @@ Identify the code and repositories your agent needs, then confirm the supported
For PAT authentication, enter a token in the **Personal Access Token** field for each repository. Treat tokens as secrets and follow your organization's token policy.
- For OAuth, use the offered **Connect GitHub** or **Connect Azure DevOps** option, allow the sign-in popup, and complete sign-in and consent. A connected indicator doesn't by itself prove access to a particular repository.
+ For a public GitHub repository, GitHub OAuth might provide the required read
+ access without GitHub App installation.
+
+ For a private GitHub repository using **OAuth**, install or configure the
+ [Logic Apps Automation GitHub App](https://github.com/apps/logic-apps-automation/installations/new)
+ for the account that owns the repository, and grant access to the repository.
+ An organization administrator might need to approve the installation. Return
+ to the sandbox configuration, select **Connect GitHub**, and complete sign-in
+ and consent.
+
+ For Azure DevOps OAuth, select **Connect Azure DevOps**, allow the sign-in
+ popup, and complete sign-in and consent.
+
+ Repository OAuth configures repository access for the sandbox. It doesn't
+ automatically configure GitHub Copilot model calls or GitHub connector
+ operations. Complete those setup flows separately.
+
+ A connected indicator doesn't by itself prove access to a particular
+ repository.
1. Select **Create**, then review the configuration status. Select a configuration that shows **Ready** when you attach it to the agent.
@@ -77,7 +95,8 @@ Identify the code and repositories your agent needs, then confirm the supported
1. In the agent's **Harness** settings, select **GHCP** (GitHub Copilot) as the harness type, if offered.
-1. Select the ready sandbox configuration. Verify the agent's model connection and other required settings before running the workflow.
+1. Select the ready sandbox configuration. Verify the agent's model selection or
+ model connection and other required settings before running the workflow.
#### How Azure Logic Apps Automation places skills for GitHub Copilot
@@ -111,11 +130,14 @@ If your current access allows sandbox management, you can perform the following
| A sandbox configuration reports an error | Select the configuration and review the error details. |
| A configuration doesn't appear on the Managed Agent | Review the configuration status and confirm the required access. |
| An expected input or output file is missing | Review the agent action details in run history. |
+| A private GitHub repository can't be cloned after OAuth sign-in | Configure the GitHub App installation for the account that owns the repository and grant the app access to that repository. |
| A repository skill isn't available | Review the sandbox configuration and confirm the requirements for using repository skills. |
## Related content
- [Sandboxes](/features/sandboxes/)
- [Agents](/features/agents/)
+- [Managed Agent](/guides/managed-agent/)
+- [GitHub connector](/guides/github-connector/)
- [Connectors](/features/connectors/)
- [Runs and monitoring](/features/runs-and-monitoring/)
\ No newline at end of file
diff --git a/docs-site/src/content/docs/guides/github-connector.md b/docs-site/src/content/docs/guides/github-connector.md
index 387c287..72f979b 100644
--- a/docs-site/src/content/docs/guides/github-connector.md
+++ b/docs-site/src/content/docs/guides/github-connector.md
@@ -70,12 +70,53 @@ The deployment status trigger responds to status changes rather than a specific
An environment-specific GitHub Enterprise variant uses the same actions and triggers against its configured host. It requires explicit enablement and isn't registered by default. Its presence doesn't imply support for arbitrary GitHub Enterprise Server URLs; use only the variant and host offered by your environment.
+
+
+## GitHub authentication and permissions
+
+For shared OAuth connection setup and management, see
+[Create an OAuth service-provider connection](/features/connectors/#create-an-oauth-service-provider-connection).
+
+Public GitHub repositories might be accessible without installing the GitHub
+App, depending on the operation and required permissions. For private
+repositories or operations that require installation-granted access, install or
+configure the
+[Logic Apps Automation GitHub App](https://github.com/apps/logic-apps-automation/installations/new)
+for the GitHub accounts and repositories that the connection should access.
+Choose only the repositories the workflow needs. An organization administrator
+might need to approve the installation.
+
+The GitHub App installation grants repository access to Logic Apps Automation.
+The OAuth sign-in authorizes your connection. These are separate steps, and
+completing one doesn't complete the other.
+
+For GitHub, complete these steps before continuing with the shared OAuth setup:
+
+1. If the operation requires GitHub App installation, select **Install or
+ configure GitHub App**. Choose the GitHub account and repositories that this
+ connection should access, then return to the connection form.
+1. Select **Continue with GitHub OAuth**, then complete GitHub sign-in and
+ consent.
+
-For connection setup, permissions, and common issues, see [shared connector guidance](/features/connectors/#add-a-connector-operation).
+### Troubleshoot OAuth
+
+- If sign-in succeeds but an operation is denied, confirm that the GitHub
+ account can access the repository and has the permissions required by the
+ operation.
+- If a trigger can't subscribe, confirm that the account can create and manage
+ repository webhooks.
+- If an expected repository isn't available, configure the GitHub App
+ installation for the account that owns the repository and grant access to
+ that repository.
+
+For general connection setup and troubleshooting, see
+[shared connector guidance](/features/connectors/#add-a-connector-operation).
## Related content
- [Connectors](/features/connectors/)
- [Azure DevOps connectors](/guides/azure-devops-connectors/)
+- [Managed Agent](/guides/managed-agent/)
- [Visual designer](/features/visual-designer/)
diff --git a/docs-site/src/content/docs/guides/managed-agent.md b/docs-site/src/content/docs/guides/managed-agent.md
index 74022fb..6cc8f21 100644
--- a/docs-site/src/content/docs/guides/managed-agent.md
+++ b/docs-site/src/content/docs/guides/managed-agent.md
@@ -11,18 +11,41 @@ Choose **Managed agent** when your workflow task needs code, repository, or file
Before you run a Managed agent action:
-- Add an agent action and select **Managed agent**.
-- Review the available model and harness options in the designer.
+- Have an app and workflow in the target Azure Logic Apps Automation
+ environment.
+- Have access to a Microsoft-managed coding model or the credentials for your
+ own model connection.
- Configure sandbox and repository settings offered by your environment.
- Provide any required input files and skills configuration.
For current setup guidance, see [Sandbox setup overview](/guides/create-sandboxes/).
+## Choose model access
+
+1. Add an agent action and select **Managed agent**.
+1. If **Choose an AI model** opens, choose one of these paths:
+ - Select a Microsoft-managed model. You don't need to create a model
+ connection.
+ - Select **Use your own model connection**, then create or select a
+ connection.
+1. For your own model connection, select an available provider:
+ - **Sign in with GitHub** uses GitHub OAuth and the signed-in account's
+ GitHub Copilot access.
+ - **API Key** uses an OpenAI-compatible chat completions endpoint and API
+ key.
+
+Completing GitHub OAuth for model calls doesn't automatically configure
+repository cloning or GitHub connector operations. Complete those setup flows
+separately. For more information, see
+[Sandbox setup overview](/guides/create-sandboxes/) and [GitHub
+connector](/guides/github-connector/#connect-with-github-oauth).
+
## Build path
Use this sequence:
-1. Add the Managed agent action.
+1. Add an agent action and select **Managed agent**.
+1. Select the model or model connection.
1. Configure **System message** and **User message** for the exact task.
1. Review **Harness** settings, including execution environment, sandbox, and repository skills.
1. Add only the tools needed for the task.
@@ -32,8 +55,18 @@ Use this sequence:
Managed agent outputs can feed later deterministic workflow actions. Use run settings and run history to control and audit behavior before broad rollout.
+## Troubleshoot problems
+
+| Problem | Try |
+|---|---|
+| GitHub sign-in isn't offered | Confirm that you selected **Managed agent**, then select **Use your own model connection** in the model picker. |
+| GitHub sign-in succeeds but model calls fail | Confirm that the signed-in GitHub account has GitHub Copilot access. To use a different account, first identify all agents using the model connection. Delete and recreate the connection with the intended account, then select the replacement connection in every affected agent and save the workflows. |
+| A sandbox configuration isn't available | Confirm that the configuration has the **Ready** status. |
+| A repository can't be cloned | Check the repository URL and branch, then review the repository authentication configured on the sandbox. |
+
## Related content
- [The options and how to choose](/guides/agent-options/)
- [Ways of orchestrating agents](/guides/orchestrate-agents/)
- [Sandbox setup overview](/guides/create-sandboxes/)
+- [GitHub connector](/guides/github-connector/)