microsoftgraph / microsoftgraph/msgraph-sdk-go

Add support for Get `Collaboration restrictions` in `External Identities > External collaboration settings`

Open
#931 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:waiting-for-triage type:feature
Dominant language
Go
Stars
335
Forks
43
Avg merge
15h 19m
Merged PRs (30d)
3

Description

Is your feature request related to a problem? Please describe the problem.

Dear team,

I am trying to retrieve the Collaboration restrictions in External Identities > External collaboration settings from https://entra.microsoft.com/.
However, I could not find any relevant API call in either the GA or Beta versions of Graph API that provides these details. Could you please confirm if this functionality is available, or consider adding support for retrieving Collaboration restrictions via Graph API?

We have tried below API calls but does not help:
https://learn.microsoft.com/en-us/graph/api/crosstenantaccesspolicy-get?view=graph-rest-1.0&tabs=http
https://learn.microsoft.com/en-us/graph/api/externalidentitiespolicy-get?view=graph-rest-beta&tabs=http
https://learn.microsoft.com/en-us/graph/api/emailauthenticationmethodconfiguration-get?view=graph-rest-1.0&tabs=http
https://learn.microsoft.com/en-us/graph/api/authorizationpolicy-get?view=graph-rest-1.0&tabs=http

Please see the below image:

Image

Thanks

Describe the solution you'd like.

I would like to add support in the SDK to retrieve Collaboration restrictions (domain allow/deny list) from Microsoft Graph API.
Specifically, this should expose the configuration corresponding to:

  • Allow invitations to be sent to any domain (most inclusive)
  • Deny invitations to the specified domains
  • Allow invitations only to the specified domains (most restrictive)
Additional context?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked Microsoft Graph documentation for crosstenantaccesspolicy, externalidentitiespolicy, emailauthenticationmethodconfiguration, and authorizationpolicy. Confirm whether Graph exposes the requested collaboration restrictions before examining the Go SDK's generated support. Done means identifying a supported API shape and exposing all three domain-list configurations, or documenting that the upstream API does not provide them.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.