Export D365SecurityDetails - FH-Inway/d365fo.tools GitHub Wiki
Extract details from a User Interface Security file
Export-D365SecurityDetails [-FilePath] <String> [[-OutputDirectory] <String>] [<CommonParameters>]
Extracts and partitions the security details from an User Interface Security file into the same structure as AOT security files
Export-D365SecurityDetails -FilePath C:\temp\d365fo.tools\SecurityDatabaseCustomizations.xml
This will grab all the details inside the "C:\temp\d365fo.tools\SecurityDatabaseCustomizations.xml" file and extract that into the default path "C:\temp\d365fo.tools\security-extraction"
Path to the User Interface Security XML file you want to work against
Type: String
Parameter Sets: (All)
Aliases: Path
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Path to the folder where the cmdlet will output and structure the details from the file. The cmdlet will create a sub folder named like the input file.
Default value is: "C:\temp\d365fo.tools\security-extraction"
Type: String
Parameter Sets: (All)
Aliases: Output
Required: False
Position: 2
Default value: C:\temp\d365fo.tools\security-extraction
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Tags: Security, Configuration, Permission, Development
Author: Mötz Jensen (@splaxi)
The work and design of this cmdlet is based on the findings by Alex Meyer (@alexmeyer_ITGuy).
He wrote about his findings on his blog: https://alexdmeyer.com/2018/09/26/converting-d365fo-user-interface-security-customizations-export-to-aot-security-xml-files/
He published a github repository:
https://github.com/ameyer505/D365FOSecurityConverter
All credits goes to Alex Meyer