Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

GDAP support

Đang mở
#111 27 bình luận 1 reaction 1 người được giao Xem trên GitHub

@shenglol đang làm issue này rồi.

Từ ngày 23/5/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

enhancement triaged

Is your feature request related to a problem? Please describe.
I would guess this is expected behavior that you cannot deploy Graph resources via GDAP. I will not explain what is GDAP in detail but in short in partner tenant and customer tenant. The partner tenant has group for example like AdminAgent. Via GDAP that group is given Entra access (for example User Administrator). In that group we have a user from the partner tenant. We also have service principal that can login to customer tenant by doing on behalf of that user so inherits its permissions on customer Entra tenant. This kind of login (via the service principal) works when we deploy Azure resources to the customer tenant. It also works if we do Graph operations via PowerShell. When we connect to the customer tenant with connect-azaccount we use -AccessToken property by providing access token that is valid. We also provide -GraphAccessToken but when I try to deploy Bicep template with Graph resources I get:

 |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | 06:39:52 - Error: Code=InvalidTemplateDeployment; Message=The template
     | deployment 'azDeploy-240523063910-lz-ms-graph-test' is not valid
     | according to the validation procedure. The tracking id is
     | '30a48908-9bc7-4a24-bd7a-1dec585d5dab'. See inner errors for details. 
     | 06:39:52 - Error: Code=AuthenticationFailed; Message=Authentication
     | failed.  The deployment validation failed

As GDAP is common scenario for authenticating to customers by Cloud Solution Providers (CSPs) I think it is valid request that the Graph deployment supports it. Preferably should be possible with using the -GraphAccessToken -AccessToken parameters in connect-azaccount cmdlet.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

Ngôn ngữ chính
TypeScript
Star
81
Fork
15
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoftgraph/msgraph-bicep-types

Tất cả issue của microsoftgraph/msgraph-bicep-types

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.