Skip to content

Add Agent365ToolsServicePrincipalProdPublic script#10

Merged
mrunalhirve128 merged 3 commits intomainfrom
users/mrunalhirve/AddMCPSCript
Nov 14, 2025
Merged

Add Agent365ToolsServicePrincipalProdPublic script#10
mrunalhirve128 merged 3 commits intomainfrom
users/mrunalhirve/AddMCPSCript

Conversation

@mrunalhirve128
Copy link
Contributor

@mrunalhirve128 mrunalhirve128 commented Nov 14, 2025

DESCRIPTION
This script creates the Service Principal for Agent 365 Tools in your Azure AD tenant. This is a ONE-TIME operation per tenant that requires admin permissions.

After the Service Principal is created, regular users can create their own app registrations without needing admin rights.

This script needs to be accessible
& needs to be referenced before developing an agent in a tenant in Learn doc

Source: https://github.com/bap-microsoft/MCP-Platform/pull/530/files

Copilot AI review requested due to automatic review settings November 14, 2025 18:55
@mrunalhirve128 mrunalhirve128 requested a review from a team as a code owner November 14, 2025 18:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new PowerShell script to create the Agent 365 Tools Service Principal in an Azure tenant. This is a one-time administrative operation that enables regular users to create their own app registrations without requiring admin rights.

Key Changes:

  • New administrative script for Service Principal creation with comprehensive error handling
  • Automatic Microsoft.Graph module installation and validation
  • User-friendly output with color-coded status messages and detailed instructions

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings November 14, 2025 19:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@mrunalhirve128 mrunalhirve128 merged commit 334f6c2 into main Nov 14, 2025
2 checks passed
@pontemonti pontemonti deleted the users/mrunalhirve/AddMCPSCript branch December 5, 2025 17:27
sellakumaran pushed a commit that referenced this pull request Feb 27, 2026
* Git push script

* Update scripts/cli/Auth/New-Agent365ToolsServicePrincipalProdPublic.ps1

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update scripts/cli/Auth/New-Agent365ToolsServicePrincipalProdPublic.ps1

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants