【问题标题】:How to add a permission to an AD App with Pulumi如何使用 Pulumi 向 AD 应用程序添加权限
【发布时间】:2019-08-01 18:21:04
【问题描述】:

我尝试向我的应用添加“登录并阅读用户个人资料”权限,但我找不到如何操作。

这是我现在的代码

const myApp= new azure.ad.Application("myApp", {
    name: "myApp",
    availableToOtherTenants: false,
    homepage: "https://homepage",
    identifierUris: ["https://uri"],
    oauth2AllowImplicitFlow: true,
    replyUrls: ["https://replyurl"]
});

const myAppPrincipal= new azure.ad.ServicePrincipal("myAppPrincipal", {
    applicationId: myApp.applicationId,
});

Pulumi怎么做权限?

【问题讨论】:

    标签: azure pulumi


    【解决方案1】:

    这是不可能的,pulumi 依赖于 terraform,而 terraform 没有图资源,只有 ARM 的东西。

    新的 azure 广告提供商(现在与旧的相同):https://www.terraform.io/docs/providers/azuread/index.html

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-01-11
    • 2019-06-19
    • 1970-01-01
    • 1970-01-01
    • 2021-12-27
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多