[OUTDATED] AzureCP Subscription Edition #195
Yvand
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Edit
This announcement is outdated and no longer valid. Read this one for up to date information.
I keep this post for reference and to provide a procedure to properly uninstall AzureCP SE.
Say hi to AzureCP SE!
The next version of AzureCP contains big, breaking changes, and is not compatible with any previous version.
And it has a new name.
Most significant consequences
Why those changes
In short: The weight of legacy.
In more details:
There were too many wrong things inherited from the original design of AzureCP, and impossible to fix without breaking the compatibility, or risking disasters during updates.
Another bad mistake was the deployment mode of the solution ("WebFrontEnd"), which I figured out too late means that the solution's assemblies are not deployed on non-WFE servers (except for the central administration server, which is why I missed that).
I never dared to change it for fear of messing up the upgrade in a production environment.
AzureCPSE uses the deployment mode "ApplicationServer", which as its name does not indicate, deploys the assemblies on all servers.
AzureCP v21 used NuGet package Microsoft.Graph 3.35.0, released in June 2021 and completely outdated. I never updated because it was the last version that does not require specific assembly bindings to be loaded in SharePoint processes.
AzureCPSE uses the latest version of Microsoft.Graph and I will document a simple procedure to set the required assembly bindings in the machine.config.
It also comes with a troubleshooting page that administrators can use to test the assembly bindings and the connectivity to Azure.
Why name it AzureCP Subscription Edition, since it works also on SharePoint 2019 and 2016?
I needed a new name for the solution and the claims provider, to clearly indicate it is incompatible with previous versions.
AzureCPSE is primarily designed for SharePoint SE, uses its assembly as reference and shares the .NET Framework requirement. I am happy it also works in SharePoint 2019 and 2016 but it is partly luck (especially for SharePoint 2016).
Besides, in a few years, only SharePoint SE will still stand, and the name will fit naturally.
How to test AzureCP SE
The install procedure is different compared to all previous versions of AzureCP.
No update from a previous version is possible, but
AzureCPSE
can be installed side by side withAzureCP
.First step is to download
assembly-bindings.config
andAzureCPSE.wsp
from https://github.com/Yvand/AzureCP/releases/tag/nightlyTo do on all SharePoint servers
%systemroot%\Microsoft.NET\Framework64\v4.0.30319\Config\Machine.config
), and replace its tag<runtime />
with the content of the fileassembly-bindings.config
you downloaded.Then, only on the server which runs the central administration:
Add-SPSolution "C:\YvanData\dev\AzureCPSE.wsp"
Install-SPSolution -Identity "AzureCPSE.wsp" -GACDeployment
Install-SPFeature -SolutionId "dd03bdd7-0645-475e-a852-f180b8bc8191" -AllExistingFeatures
Done.
Uninstall AzureCP SE
Don't just retract the solution! Please follow the steps below to correctly uninstall AzureCP SE:
Known issue
AzureCP SE causes the SharePoint configuration wizard to fail, when it is executed after installing a SharePoint update.
No panic, the solution is simple: Simply delete the persisted object which stores the AzureCPSE configuration using this script:
Then you can run the SharePoint configuration wizard successfully.
Next steps
The main work is completed, what remains to do is:
Beta Was this translation helpful? Give feedback.
All reactions