Do you have an execution policy assigned and enforced via policy (Intune or Group Policy)? If so, you can't override this locally.
Also, even if you don't, bypassing the execution policy is a terrible idea and practice. All PowerShell scripts should be signed and you should absolutely be enforcing the All Signed execution policy as well as PowerShell constrained mode.