Hi @sundeep kumar ,
The client credential flow you are using will not issue refresh tokens, but you can extend the lifetime of the access token by configuring the access token lifetime policy, but the maximum lifetime of the token still cannot exceed 24 hours. You can get refresh token with authorization code grant flow where the user logs in will issue the refresh token.
Please go through this thread for more information: https://learn.microsoft.com/en-us/answers/questions/633248/graph-api-how-to-get-and-use-a-refresh-token-in-my.html
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.