Hi Virender,
The MSI certs are valid for a period of 90 days and should auto-renew within 45 days to stay up-to-date. I would investigate why the cluster was disconnected for so long that it could not auto-renew the cert.
To fix this issue, it is my understanding that you must delete and reconnect the cluster so the cluster can get a new certificate. Below is an example of the commands that can be used for this purpose.
NOTE: The commands below are provided as-is with no warranties or guarantees of support. It is up to you as the user to verify and test the commands thoroughly. Microsoft accepts no liability from the use of these commands in any form. If you are not comfortable with testing these commands, you can open a support request with Microsoft where we can assist you further.
- Delete the current connectedcluster installation using
az connectedk8s delete -n <CC Name> -g <RG Name>
- Connect the cluster once again using
az connectedk8s connect -n <New CC Name> -g <New RG name>
Hope this helps!