Problem: Job 1:6 states that the sons of God came to present themselves to God, and “Satan also came among them.” However, this implies that Satan has access to the throne of God when elsewhere it is declared that he has been banished from God’s presence (Rev. 12:7–12).
Solution: Satan has been officially expelled from heaven, but he still actually has access there. Several places in Scripture present the idea that Satan has access to the presence of God in order to accuse the saints. In Zechariah 3:1 we find a vision of Joshua standing before the angel of the Lord with Satan on his right hand accusing him. Revelation 12:10 identifies Satan as the accuser of the brethren “who accused them before our God day and night.”
Apparently, as the prince of the power of the air (Eph. 2:2), Satan has had opportunity to appear before God for the purpose of accusing God’s people of sin. This is what he is doing against Job in both Job 1:6 and 2:1.