There is a tool provided by Microsoft for the same.
below are instructions i put-up for someone else.
1. Download link for the tool -
2. Download the license key to enable the tool.
3. Launch the downloaded tool and specify the location of the license key downloaded in step 2
4. follow the wizard to transfer the objects from Access to SQL Server#
I tried with a small MDB at my end and it was straight forward.
Hope this helps.