Hi @Mariam Harutyunyan,
Based on your query, I understand that you would like to get the IP address and User agent in sign up flow of Azure AD B2C.
You can get the IP address using claims resolved in Azure AD B2C using custom policies: About claim resolvers in Azure Active Directory B2C custom policies. But there is no option to retrieve the user agent in B2C, this is a product limitation. You can provide the feedback on the product using our Azure feedback forum.
I hope this information is helpful. Please feel free to reach out if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly "upvote it". If you have extra questions about this answer, please click "Comment".