- Xml store
- AD store
- SQL Store
AzManBulkImport.exe {source policy store}{source policy store}{copy users}
There are a few minor things to keep in mind with this new version:- Migrating App Groups with incorrect LDAP Strings crashes the migration.
- There is no check to make sure the database in the connection string exists.
- XML AzMan store defaults to no-users in policy store administrators group, meaning everyone has access. SQL AzMan says that no-one in the policy store administrators group means no one has access. Migrating an XML store without any administrators to a SQL store results in an access problem, as no-one will have access to the policy store after the policy store administrators are deleted from SQL server. There is an error message to reflect this situation.
- David has changed the Operations migration to compare old and new operations using the Operation ID, instead of the old comparison on Operation Name.
AzManBulkImport.exe "mssql://Driver=SQL Server;Server=dbserver01;Trusted_ConnecThis basically says to copy from the specified SQL Server store to the specified XML Store, including all user role assignments. You can change from XML to AD Ldap connection string or Ldap connection string to SQL server.
tion=True;/MyAzmanDatabase/MyPolicyStore" "d:\Azman.xml" "true"
To recap, v2.0 of this code is console based and has a few updates with the major being SQL Server capability. Some of the code is a bit rough, but it works :) I do hope to release v3.0 if I ever get time to work on it again.
You can download the code here.