As per the new pricing model while registering the hybrid worker if you encounter a error below, Please follow this article

New-AzureRmOperationalInsightsWorkspace : HTTP Status Code: BadRequest
Error Message: Pricing tier doesn’t match the subscription’s billing model. Read http://aka.ms/PricingTierWarning for more details.
Request Id: 1c976c75-258e-4b7d-a1b8-ad3c3ff2bff0
Timestamp (Utc):02/24/2022 06:03:41
At C:\Users\ADAdmin\Documents\WindowsPowerShell\Scripts\New-OnPremiseHybridWorker.ps1:180 char:18
- … Workspace = New-AzureRmOperationalInsightsWorkspace -Location $OmsLoc …
~~~~~~~~~~~~~- CategoryInfo : CloseError: (:) [New-AzureRmOperationalInsightsWorkspace], CloudException
- FullyQualifiedErrorId : Microsoft.Azure.Commands.OperationalInsights.NewAzureOperationalInsightsWorkspaceCommand
First create workspace
New-AzureRmOperationalInsightsWorkspace -ResourceGroupName ‘YOURRGNAME -Location ‘YOURLOCATION’ -Sku ‘standalone‘ -Name ‘TG-Automation’
Post running this then you can follow the below command
New-OnPremiseHybridWorker.ps1 -WorkspaceName MSDNLABLOGANALYTICS -AutomationAccountName MSDNAutomationAcc -SubscriptionID YOURSUBSCRIPTIONID -HybridGroupName TechGenius -ResourceGroupName MSDNLABRG