Hi @Sumugan Swaroop ,
According to my research and testing, I can successfully use the following Graph API to replace file content when using sensitivity label:
PUT /sites/{site-id}/drive/items/{item-id}/content
Please try again using the Graph API above. In addition, are you using Graph Explorer? If yes, try to perform this request in Postman.
My test result:
Hope it can help you. Thanks for your understanding.
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.