Azure / azure-libraries-for-net

Azure libraries for .Net
MIT License
378 stars 193 forks source link

[FEATURE REQ] Support AppRoles #688

Open fuocor opened 5 years ago

fuocor commented 5 years ago

Add support so that application roles can be created as part of the IActiveDirectoryApplication Define process. there does not appear to be any means of creating AppRoles in applications.

I need the following

        "appRoles": [
        {
            "allowedMemberTypes": [
                "User"
            ],
            "description": "Admins can manage roles and perform all task actions",
            "displayName": "Admin",
            "id": "e2bbb018-3ce4-4d49-85de-8e04814e4cdf",
            "isEnabled": true,
            "lang": null,
            "origin": "Application",
            "value": "Admin"
        },
        {
            "allowedMemberTypes": [
                "User"
            ],
            "description": "ReadOnly roles have limited query access",
            "displayName": "ReadOnly",
            "id": "27850a3a-05c3-4ed5-80e5-020ea7baa5cb",
            "isEnabled": true,
            "lang": null,
            "origin": "Application",
            "value": "User"
        }
    ],

added to the manifest but cannot seem to get it to happen with the fluent api.

kurtzeborn commented 5 years ago

Thank you for opening this issue! We are routing it to the appropriate team for follow up.