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

Support setting customSecurityAttributes to Microsoft.Graph/servicePrincipals

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

Chưa có ai nhận issue này.

Đánh giá

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

Mô tả

bug triaged

Bicep version
0.36.1

Resource and API version
0.2.0-preview beta and v1.0

Auth flow
Doesn't matter

Describe the bug
I want to update a service principal resource with some custom security attributes (CSAs).
However, there's no Bicep examples of how to do this and IntelliSense doesn't seem to know about CSAs and I see it's missing from the Bicep types definition.

Additional context
The Microsoft.Graph/servicePrincipals Bicep type does not specify a CSA. There isn't currently a way to support customSecurityAttributes in the Bicep type definition, as the underlying Microsoft Graph type is an open type with dynamic schema. That said, the customSecurityAttributes property can be defined in the Bicep template file (although the Bicep extension will warn that this is an unknown property). The template could in theory also be deployed, as the Graph Bicep extension will passthrough unknown properties to Microsoft Graph.

However, the deployment still fails with a 403 Forbidden, as the Graph Bicep extension currently doesn't have the necessary permissions to read and write CSAs.

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

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.