@Disha Bodade I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! I'll repost your solution in case you'd like to "Accept" the answer.
Issue: Logic App was failing to authorize with the ARM API.
"error": { "code": "AuthorizationFailed",
"message": "/providers/Microsoft.OperationalInsights/workspaces/soc-corp-cyber-ws' or the scope is invalid. If access was recently granted, please refresh your credentials." }
Solution: The issue was related to the Security Administrator role not being enabled in Azure Privileged Identity Management (PIM). PIM is a service in Azure that allows you to manage access to resources in your organization. By enabling the Security Administrator role in PIM, you were able to grant the necessary permissions to the Logic App to access the API.