From the global search in azure portal, navigate to subscriptions blade -> select the subscription and then click on resource providers and search for microsoft.insights, it most likely is not registered. Click register to have this provider registered under your subscription. Then retry creating the action group.
Let me know if it helps. If this does answer your question, please accept it as the answer as a token of appreciation.