The demand of mobile networks and quality of service have recently increased to higher Spectral Efficiency (SE) or Energy Efficiency (EE) and massive connectivity for 5G wireless communications. The concept of beamforming MultipleāInput MultipleāOutput (MIMO) is capable of significantly reducing the amount of required Radio Frequency Chains (RFCs) used by massive MIMO systems without remarkable performance loss. However, in existing beamformed MIMO, the amount of supported devices cannot be higher than the amount of RFCs using the same timeāfrequency resources, and it is the basic limit for these systems. To address this issue, nonāorthogonal multiple access (NOMA) has been recently recommended, which can accommodate higher covered using via nonāorthogonal resource allocation. Nevertheless, power allocation is a core factor of the NOMA scheme. However, maximizing the sum rate problem based on power allocation in Massive MIMOāNOMA scenarios is nonāconvex and nonālinear, which creates a very challenging situation to acquire the closedāform approach. Thus, in this paper, an approach to this difficulty is outlined for Massive MIMOāNOMA systems to maximize the sum rate as a convex and linear problem. Simulation results of the suggested Beamformed MIMOāNOMA (BMN) algorithm show that a higher achievable sum rate is achieved compared with the usual beamformed MIMO.