It seems that the error "Requested value 'PUBLIC' was not found" occurs when the Service Fabric Cluster creation script is unable to find a value for a particular field in the configuration file. To troubleshoot this issue, you may want to check the JSON configuration file and ensure that all the required fields are populated with the correct values. Here are a few things you can try:
Check if you have the latest version of the Azure Service Fabric Cluster installer. Download and install the latest version from the official Microsoft website.
Check the JSON configuration file for any missing or incorrect values. Make sure all required fields are populated and that they contain valid values. You can refer to the official documentation for a list of required fields and their valid values.
Try using a different JSON configuration file to see if the error persists. You can find sample configuration files in the Service Fabric SDK.
Check if the Service Fabric Cluster creation script has the necessary permissions to access the required resources. Ensure that the account running the script has sufficient privileges to create the cluster.
Check if there are any firewall rules that are blocking the script from accessing the resources it needs. You may need to adjust the firewall settings to allow the script to run successfully.