@Yogender Singh Negi, Thanks for posting in Q&A.
For the policy setting "Interactive logon: Number of previous logons to cache (in case domain controller is not available)", based on my check on group policy analytics, I find the setting don't apply to cloud-based policy management or don't apply to cloud native endpoints.
You can check if the following registry key can help.
Value name: CachedLogonsCount
If yes, you can write a PowerShell script to change this registry key. Here are some examples for the reference:
Note: Non-microsoft link, just for the reference.
Hope it can help.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.