question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE REQ] AuthorizationManagementClient sample

See original GitHub issue

Query/Question How can we help? There is documentation for this class here: https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.graph.rbac.fluent.authorizationmanagementclient?view=azure-dotnet Please provide a sample for how to use this class

Environment:

  • Name and version of the Library package used: [e.g. Azure.Storage.Blobs 12.2.0]
  • Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8]
  • IDE and version : [e.g. Visual Studio 16.3]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
weidongxu-microsoftcommented, Apr 22, 2020

@bachoang

This class is not intended to be used directly (well, you can, but it could be a bit complicated).

The class that actually send the REST API is its properties, e.g. RoleAssignments, RoleDefinitions

Here is a few samples using graphrabc on Fluent .NET SDK (the preferred usage). https://github.com/Azure/azure-libraries-for-net/tree/master/Samples/GraphRbac

BTW authorization and graphrbac REST API usually requires that one has certain permissions.

Let us know if you need sample on any specific area.

0reactions
msftbot[bot]commented, May 22, 2020

Hi, we’re sending this friendly reminder because we haven’t heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don’t hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

azure.mgmt.authorization.AuthorizationManagementClient ...
Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups.
Read more >
Mock sample for your project
Integrate third-party APIs faster by using "AuthorizationManagementClient API" ready-to-use mock sample. Mocking this API will help you accelerate your ...
Read more >
azure-mgmt-authorization
This is the Microsoft Azure Authorization Management Client Library. This package has been tested with Python 3.7+. For a more complete view of...
Read more >
How do you turn a principal_id into a username using the ...
Using the Azure Python SDK, is there a way to look up a principal_name given a principal_id? I've been reading through the SDK...
Read more >
Azure Resource Manager Authorization client library for Java
Package containing the data models for AuthorizationManagementClient. com.azure.resourcemanager.authorization.utils. This package contains utility classes for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found