Hello @kumarrishii ,
As far as I know, for a profile schema, if you want to enable it for the Profile Service, having a primary key is mandatory.
I believe it’s the same for event-based schemas. You can try to enable an event-based schema for the Profile Service—normally, you will get a pop-up asking to add a primary key before enabling. If that prompt appears (which I believe it will), then the primary key is mandatory; otherwise, it’s not required.
The primary key is required for data ingestion into the Profile Service.
But if you just want to ingest data into the Data Lake, then a primary key is not mandatory for either profile or event schemas.
Kind regards,
Parvesh
Parvesh Parmar – Adobe Community Advisor https://www.linkedin.com/in/parvesh-parmar/