Hi @Netronics_Dre ,
here is an example how to assign a NSG after failover. It should be almost the same way with a public ip.
https://learn.microsoft.com/en-us/azure/site-recovery/site-recovery-runbook-automation#customize-the-recovery-plan
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten