Azure-Information-Protection-Samples | Azure Information Protection Samples | Azure library
kandi X-RAY | Azure-Information-Protection-Samples Summary
kandi X-RAY | Azure-Information-Protection-Samples Summary
You can find a different sample in each directory:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Azure-Information-Protection-Samples
Azure-Information-Protection-Samples Key Features
Azure-Information-Protection-Samples Examples and Code Snippets
Community Discussions
Trending Discussions on Azure-Information-Protection-Samples
QUESTION
I'm trying to get the AzureIP_test sample to work, but am having trouble figuring out where to specify certain credential details.
When I run my version of the sample against a test document, I get the following error:
An unexpected error occurred : Microsoft.InformationProtectionAndControl.InformationProtectionException: The parameter is incorrect. HRESULT: 0x80070057
I suspect I'm missing credential details, but I don't know where to specify the the details in the application.
Specifically, I think I need the following:
SymmetricKeyCredential symmetricKeyCred = new SymmetricKeyCredential();
symmetricKeyCred.AppPrincipalId = ConfigurationManager.AppSettings["AppPrincipalId"];
symmetricKeyCred.Base64Key = ConfigurationManager.AppSettings["Base64Key"];
symmetricKeyCred.BposTenantId = ConfigurationManager.AppSettings["BposTenantId"];
Does anyone know the best place to specify these details? Are there other useful details I'm missing?
...ANSWER
Answered 2018-Jan-12 at 20:09you need to provide your AAD Application registration information and how you logon with in the App.Config file that is associated with the sample you are using on GitHub
-------BEGINNING OF THE APP CONFIG FILE------
/.auth/login/done" />
-------END OF APP CONFIG file ---------------------
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Azure-Information-Protection-Samples
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page