I need to get application display name by service principal id in UWP C# project. I found sample Getting started on managing service principals using C# , but this sample based on Microsoft.Azure.Management.Fluent, Microsoft.Azure.Management.Graph.RBAC.Fluent and Microsoft.Azure.Management.ResourceManager.Fluent, which are deprecated. Any other ways to get appId (except http request) I don't know.
Before installing the NuGet packages, use the latest.Net framework in order to resolve few of the deprecated issues.
*For these deprecated packages
Microsoft.Azure.Management.Fluent
Microsoft.Azure.Management.Graph.RBAC.Fluent
Microsoft.Azure.Management.ResourceManager.Fluent
Microsoft has provided alternate packages and the dependencies for the packages.
Use the below highlighted alternate packages For Microsoft.Azure.Management.Fluent
and Microsoft.Azure.Management.ResourceManager.Fluent
use Azure.ResourceManager
Azure.ResourceManager
Azure.ResourceManager
And the below package is not deprecated Microsoft.Azure.Management.Graph.RBAC.Fluent
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.