The error you are encountering, "Creation of storage file share failed with: 'The remote server returned an error: (403) Forbidden.'", typically indicates that the Logic App is unable to access the specified storage account. Here are some steps you can take to troubleshoot this issue:
- Check Storage Account Accessibility: Ensure that the storage account is accessible and that there are no network restrictions (like firewalls) preventing access.
- Permissions: Verify that the account or service principal you are using has the necessary permissions to create file shares in the storage account. You may need to assign the appropriate roles to ensure access.
- Storage Account Configuration: Make sure that the storage account is configured correctly and that it is not set to a private endpoint that restricts access.
- Review Connection Strings: If you are using connection strings, confirm that they are correct and that any Shared Access Signature (SAS) keys are valid and have not expired.
- Retry Deployment: Sometimes, transient issues can cause such errors. Try redeploying the Logic App after verifying the above settings.
If the issue persists, you may want to check the Azure portal for more detailed error messages or logs related to the deployment.