-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
Initializing settings without opening Central Admin #241
Comments
Hi @Vice93, you can test if |
Seems this worked for most of the settings, however, it did not initialize
It does get initialized if I open the .aspx page though, and works in powershell afterwards. |
@Vice93 I would like to understand the root cause of this issue. Do you have repro steps I can use to repro this myself? |
On a fresh sharepoint farm, deploy EntraCP and run the following script:
Just make sure you do not do anything manual like navigating to central admin EntraCP configuration page before running the script (the point is trying to automate the entire process). |
@Vice93 I basically do the same, and
Is it recorded in your environment? |
Hello.
When setting up EntraCP in a new farm, we are running powershell code to automate the installation process. However, we are unable to completely automate the process atm, because the global settings are not being initialized without manually navigating into the EntraCP "Global configuration" page in Central Admin.
Reproduce:
This results in
[Yvand.EntraClaimsProvider.EntraCP]::GetConfiguration()
returning null.If you navigate to "Global configuration" page, the settings gets initialized and the configuration code works fine. This can maybe be fixed by
GetConfiguration()
also running the initialize code, or by modifying the configuration documentation to call an initialize method before callingGetConfiguration()
.The text was updated successfully, but these errors were encountered: