Skip to content

Promote agentUser APIs from beta to v1.0#9881

Closed
tafra00 wants to merge 1 commit into
microsoftgraph:mainfrom
tafra00:promote-agentuser-v1-ga
Closed

Promote agentUser APIs from beta to v1.0#9881
tafra00 wants to merge 1 commit into
microsoftgraph:mainfrom
tafra00:promote-agentuser-v1-ga

Conversation

@tafra00
Copy link
Copy Markdown
Contributor

@tafra00 tafra00 commented Apr 27, 2026

  • Add agentUser resource and 18 API methods to v1.0
  • Add RBAC include for agentUser write operations
  • Update directory-deleteditems APIs (list, get, restore, delete) to support agentUser
  • Remove beta disclaimers, update endpoints to /v1.0/, remove SDK snippets
  • Update TOC mappings for both beta and v1.0
  • Add changelog entries for DirectoryServices workload
  • Update What's New overview for April 2026

Addresses GA promotion of agentUser resource with support for deleted items operations.

Important

Required for API changes:


Add other supporting information, such as a description of the PR changes:

ADD INFORMATION HERE


Important

The following guidance is for Microsoft employees only. Community contributors can ignore this message; our content team will manage the status.

After you've created your PR, expand this section for tips and additional instructions.
  • do not merge is the default PR status and is automatically added to all open PRs that don't have the ready to merge label.
  • Add the ready for content review label to start a review. Only PRs that have met the minimum requirements for content review and have this label are reviewed.
  • If your content reviewer requests changes, review the feedback and address accordingly as soon as possible to keep your pull request moving forward. After you address the feedback, remove the changes requested label, add the review feedback addressed label, and select the Re-request review icon next to the content reviewer's alias. If you can't add labels, add a comment with #feedback-addressed to the pull request.
  • After the content review is complete, your reviewer will add the content review complete label. When the updates in this PR are ready for external customers to use, replace the do not merge label with ready to merge and the PR will be merged within 24 working hours.
  • Pull requests that are inactive for more than 6 weeks will be automatically closed. Before that, you receive reminders at 2 weeks, 4 weeks, and 6 weeks. If you still need the PR, you can reopen or recreate the request.

For more information, see the Content review process summary.

- Add agentUser resource and 18 API methods to v1.0
- Add RBAC include for agentUser write operations
- Update directory-deleteditems APIs (list, get, restore, delete) to support agentUser
- Remove beta disclaimers, update endpoints to /v1.0/, remove SDK snippets
- Update TOC mappings for both beta and v1.0
- Add changelog entries for DirectoryServices workload
- Update What's New overview for April 2026

Addresses GA promotion of agentUser resource with support for deleted items operations.
@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 55f7cfe:

⚠️ Validation status: warnings

File Status Preview URL Details
api-reference/v1.0/api/agentuser-list-transitivememberof.md ⚠️Warning Details
api-reference/v1.0/api/directory-deleteditems-delete.md ⚠️Warning Details
api-reference/v1.0/api/directory-deleteditems-get.md ⚠️Warning Details
api-reference/v1.0/api/directory-deleteditems-list.md ⚠️Warning Details
api-reference/v1.0/api/directory-deleteditems-restore.md ⚠️Warning Details
api-reference/v1.0/api/orgcontact-list-transitivememberof.md ⚠️Warning Details
api-reference/v1.0/resources/agentuser.md ⚠️Warning Details
api-reference/beta/toc/toc.mapping.json ✅Succeeded
api-reference/v1.0/api/agentuser-delete-manager.md ✅Succeeded
api-reference/v1.0/api/agentuser-delete-sponsors.md ✅Succeeded
api-reference/v1.0/api/agentuser-delete.md ✅Succeeded
api-reference/v1.0/api/agentuser-get.md ✅Succeeded
api-reference/v1.0/api/agentuser-list-approleassignments.md ✅Succeeded
api-reference/v1.0/api/agentuser-list-directreports.md ✅Succeeded
api-reference/v1.0/api/agentuser-list-manager.md ✅Succeeded
api-reference/v1.0/api/agentuser-list-memberof.md ✅Succeeded
api-reference/v1.0/api/agentuser-list-ownedobjects.md ✅Succeeded
api-reference/v1.0/api/agentuser-list-sponsors.md ✅Succeeded
api-reference/v1.0/api/agentuser-list-transitivereports.md ✅Succeeded
api-reference/v1.0/api/agentuser-list.md ✅Succeeded
api-reference/v1.0/api/agentuser-post-approleassignments.md ✅Succeeded
api-reference/v1.0/api/agentuser-post-manager.md ✅Succeeded
api-reference/v1.0/api/agentuser-post-sponsors.md ✅Succeeded
api-reference/v1.0/api/agentuser-post.md ✅Succeeded
api-reference/v1.0/api/agentuser-update.md ✅Succeeded

This comment lists only the first 25 files in the pull request.

api-reference/v1.0/api/agentuser-list-transitivememberof.md

  • Line 12, Column 1: [Warning: duplicate-h1s - See documentation] H1 'List transitiveMemberOf' is duplicated with other articles: 'v1.0/api/agentuser-list-transitivememberof.md(12,1), v1.0/api/orgcontact-list-transitivememberof.md(11,1)'. First level headings must be unique within a docset.

api-reference/v1.0/api/directory-deleteditems-delete.md

  • Line 23, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/externaluserprofile.md'.
  • Line 25, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/pendingexternaluserprofile.md'.
  • Line 48, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/externaluserprofile.md'.
  • Line 50, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/pendingexternaluserprofile.md'.

api-reference/v1.0/api/directory-deleteditems-get.md

  • Line 24, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/externaluserprofile.md'.
  • Line 26, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/pendingexternaluserprofile.md'.
  • Line 46, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/externaluserprofile.md'.
  • Line 48, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/pendingexternaluserprofile.md'.

api-reference/v1.0/api/directory-deleteditems-list.md

  • Line 24, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/externaluserprofile.md'.
  • Line 26, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/pendingexternaluserprofile.md'.
  • Line 46, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/externaluserprofile.md'.
  • Line 48, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/pendingexternaluserprofile.md'.

api-reference/v1.0/api/directory-deleteditems-restore.md

  • Line 24, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/externaluserprofile.md'.
  • Line 26, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/pendingexternaluserprofile.md'.
  • Line 50, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/externaluserprofile.md'.
  • Line 52, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../resources/pendingexternaluserprofile.md'.

api-reference/v1.0/api/orgcontact-list-transitivememberof.md

  • Line 11, Column 1: [Warning: duplicate-h1s - See documentation] H1 'List transitiveMemberOf' is duplicated with other articles: 'v1.0/api/agentuser-list-transitivememberof.md(12,1), v1.0/api/orgcontact-list-transitivememberof.md(11,1)'. First level headings must be unique within a docset.

api-reference/v1.0/resources/agentuser.md

  • Line 69, Column 33: [Warning: file-not-found - See documentation] Invalid file link: '../resources/cloudrealtimecommunicationinfo.md'.
  • Line 104, Column 415: [Warning: file-not-found - See documentation] Invalid file link: '../api/user-invalidateallrefreshtokens.md'.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

Copy link
Copy Markdown
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

Promotes the agentUser resource and related APIs from beta to v1.0, updates directory deletedItems documentation to include agentUser, and surfaces the change through TOC, changelog, and April 2026 “What’s new”.

Changes:

  • Added new v1.0 resource + API reference topics for agentUser (CRUD + relationships + app role assignments).
  • Updated directory deletedItems (list/get/restore/permanently delete) docs to include agentUser.
  • Updated discoverability and release comms: TOC mappings (beta + v1.0), DirectoryServices changelog entry, and April 2026 What’s New.

Reviewed changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated 23 comments.

Show a summary per file
File Description
concepts/whats-new-overview.md Adds April 2026 GA entry for agentUser in v1.0.
changelog/Microsoft.DirectoryServices.json Adds DirectoryServices changelog record announcing agentUser GA + methods.
api-reference/v1.0/toc/toc.mapping.json Adds v1.0 TOC node for Agent user resource.
api-reference/v1.0/resources/agentuser.md Introduces v1.0 agentUser resource reference topic.
api-reference/v1.0/includes/rbac-for-apis/rbac-agent-user-apis-write.md Adds RBAC include for agentUser write operations.
api-reference/v1.0/api/directory-deleteditems-list.md Updates list deletedItems to include agentUser (and other types).
api-reference/v1.0/api/directory-deleteditems-get.md Updates get deletedItem to include agentUser (and other types).
api-reference/v1.0/api/directory-deleteditems-restore.md Updates restore deletedItem to include agentUser (and other types).
api-reference/v1.0/api/directory-deleteditems-delete.md Updates permanently delete deletedItem to include agentUser (and other types).
api-reference/v1.0/api/agentuser-list.md Adds List agentUser API topic.
api-reference/v1.0/api/agentuser-post.md Adds Create agentUser API topic.
api-reference/v1.0/api/agentuser-get.md Adds Get agentUser API topic.
api-reference/v1.0/api/agentuser-update.md Adds Update agentUser API topic.
api-reference/v1.0/api/agentuser-delete.md Adds Delete agentUser API topic.
api-reference/v1.0/api/agentuser-list-approleassignments.md Adds List appRoleAssignments for agentUser.
api-reference/v1.0/api/agentuser-post-approleassignments.md Adds Create appRoleAssignment for agentUser.
api-reference/v1.0/api/agentuser-list-directreports.md Adds List directReports for agentUser.
api-reference/v1.0/api/agentuser-list-manager.md Adds List manager for agentUser.
api-reference/v1.0/api/agentuser-post-manager.md Adds Add manager for agentUser.
api-reference/v1.0/api/agentuser-delete-manager.md Adds Remove manager for agentUser.
api-reference/v1.0/api/agentuser-list-memberof.md Adds List memberOf for agentUser.
api-reference/v1.0/api/agentuser-list-transitivememberof.md Adds List transitiveMemberOf for agentUser.
api-reference/v1.0/api/agentuser-list-transitivereports.md Adds List transitiveReports for agentUser.
api-reference/v1.0/api/agentuser-list-ownedobjects.md Adds List ownedObjects for agentUser.
api-reference/v1.0/api/agentuser-list-sponsors.md Adds List sponsors for agentUser.
api-reference/v1.0/api/agentuser-post-sponsors.md Adds Add sponsors for agentUser.
api-reference/v1.0/api/agentuser-delete-sponsors.md Adds Remove sponsor for agentUser.
api-reference/beta/toc/toc.mapping.json Renames beta TOC node from “Agent user (preview)” to “Agent user”.
Comments suppressed due to low confidence (1)

api-reference/v1.0/api/directory-deleteditems-list.md:176

  • This example still includes SDK snippet includes and tabbed-language sections (starting with the Go snippet include). Per repo guidance, examples should be HTTP-only and SDK snippets/tabs should be removed (especially since other examples in this file were already converted to HTTP-only).
[!INCLUDE [sample-code](../includes/snippets/go/list-directory-deleteditems-count-go-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

# [Java](#tab/java)

Comment on lines +94 to +99
{
"value": {
"@odata.type": "#microsoft.graph.agentUser",
"id": "929393ae-1e1d-159f-0d83-29f7df42e7b9",
"deletedDateTime": "String (timestamp)",
"signInActivity": {
Comment on lines +78 to +92
>**Note:** The response object shown here might be shortened for readability.
<!-- {
"blockType": "response",
"truncated": true,
"@odata.type": "microsoft.graph.directoryObject"
}
-->
``` http
HTTP/1.1 204 No Content
Content-Type: application/json

{
"@odata.type": "#microsoft.graph.directoryObject",
"id": "a6c034b8-621b-dee3-6abb-52cbce801fe9"
}
Comment on lines +37 to +40
``` http
GET /users/{usersId}/transitiveReports/$count
```

"value": [
{
"@odata.type": "#microsoft.graph.directoryObject",
"id": "a6c034b8-621b-dee3-6abb-52cbce801fe9",
"value": [
{
"@odata.type": "#microsoft.graph.directoryObject",
"id": "a6c034b8-621b-dee3-6abb-52cbce801fe9",
Comment on lines +37 to +39
``` http
DELETE /users/{usersId}/manager/{id}/$ref
```
"value": [
{
"@odata.type": "#microsoft.graph.directoryObject",
"id": "a6c034b8-621b-dee3-6abb-52cbce801fe9",
Comment on lines +70 to +79
{
"@odata.type": "#microsoft.graph.appRoleAssignment",
"deletedDateTime": "String (timestamp)",
"appRoleId": "Guid",
"creationTimestamp": "String (timestamp)",
"principalDisplayName": "String",
"principalId": "Guid",
"principalType": "String",
"resourceDisplayName": "String",
"resourceId": "Guid"
Comment on lines +24 to +26
- [externalUserProfile](../resources/externaluserprofile.md)
- [group](../resources/group.md)
- [pendingExternalUserProfile](../resources/pendingexternaluserprofile.md)
Comment on lines +89 to +93
{
"value":
{
"@odata.type": "#microsoft.graph.agentUser",
"id": "84e0b4dc-e852-29ed-1e5d-9e1f335611e8",
Copy link
Copy Markdown
Contributor

@FaithOmbongi FaithOmbongi left a comment

Choose a reason for hiding this comment

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

Hi @tafra00 - We don't accept schema-related contributions in the public repo because we can't validate the integrity of the changes due to validations that intentionally don't run in public repos for privacy reasons.

Please move these changes to the private repo and set the review labels so the PR can be attended to ASAP.

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.

3 participants