-
Notifications
You must be signed in to change notification settings - Fork 102
Export D365SecurityDetails
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
- Install as a non-Administrator
- Install as a Administrator
- Import d365fo.tools module
- List available commands from d365fo.tools module
- Get help content for a command
- Start, Stop and List services
- Import users into the D365FO environment
- Import external users into the D365FO environment
- Enable users in the D365FO environment
- Update users in the D365FO environment
- Provision D365FO environment to new Azure AD tenant
- Import a bacpac file into a Tier1 environment
- List modules / models
- Compile module
- Install AzCopy
- Install SqlPackage
- Install Nuget
- Speed up LCS download via AzCopy
- Download latest bacpac from LCS via AzCopy
- Register NuGet source
- Configure Azure Logic App
- Fix AzureStorageConfig
- Run a runnable class
- Update users in environment
- Work with Azure Storage Account
- Work with packages, resource label files, language and lables
- Working with the different D365 services