We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Samples don't work out of the box even when populating App.config with valid parameters
Create App Registration in a Patrner tenant using the following script: https://gcits.com/knowledge-base/how-to-connect-to-delegated-office-365-tenants-using-the-secure-app-model/
Clone repo, plugin parameters returned from script into App.config
The application should not throw an except
Exception is thrown because AADInstance variable is null
Change the following lines from
private static readonly string AADInstance = ConfigurationManager.AppSettings["AADInstance"];
to private static readonly string AADInstance = ConfigurationManager.AppSettings["ida:AADInstance"];
private static readonly string AADInstance = ConfigurationManager.AppSettings["ida:AADInstance"];
Partner-Center-DotNet-Samples/secure-app-model/keyvault/CSPApplication/Program.cs
Line 38 in 007fec5
Partner-Center-DotNet-Samples/secure-app-model/keyvault/CPVApplication/Program.cs
Line 26 in 007fec5
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Overview
Samples don't work out of the box even when populating App.config with valid parameters
Reproduction
Create App Registration in a Patrner tenant using the following script:
https://gcits.com/knowledge-base/how-to-connect-to-delegated-office-365-tenants-using-the-secure-app-model/
Clone repo, plugin parameters returned from script into App.config
Expected Behavior
The application should not throw an except
Actual Behavior
Exception is thrown because AADInstance variable is null
Possible solutions
Change the following lines from
private static readonly string AADInstance = ConfigurationManager.AppSettings["AADInstance"];
to
private static readonly string AADInstance = ConfigurationManager.AppSettings["ida:AADInstance"];
Partner-Center-DotNet-Samples/secure-app-model/keyvault/CSPApplication/Program.cs
Line 38 in 007fec5
Partner-Center-DotNet-Samples/secure-app-model/keyvault/CPVApplication/Program.cs
Line 26 in 007fec5
The text was updated successfully, but these errors were encountered: